Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to resolve 'p-queue' from 'notion-utils' #543

Open
hhmy27 opened this issue Mar 3, 2024 · 1 comment
Open

Failed to resolve 'p-queue' from 'notion-utils' #543

hhmy27 opened this issue Mar 3, 2024 · 1 comment

Comments

@hhmy27
Copy link

hhmy27 commented Mar 3, 2024

Hi, I've encountered a problem. After running the following commands:

pnpm add react-notion-x
pnpm add notion-client
pnpm add notion-utils
pnpm add p-queue

My package.json dependencies are as below:

"dependencies": {
  "notion-client": "^6.16.0",
  "notion-types": "^6.16.0",
  "notion-utils": "^6.16.0",
  "p-queue": "^8.0.1",
  "plasmo": "0.84.2",
  "react": "18.2.0",
  "react-dom": "18.2.0",
  "react-notion-x": "^6.16.0"
},

However, when I start the project, it prompts me with the following error:

🔴 ERROR  | Build failed. To debug, run plasmo dev --verbose.
🔴 ERROR  | Failed to resolve 'p-queue' from './node\_modules/.pnpm/[email protected]/node\_modules/notion-utils/build/index.js'
🔴 ERROR  | Cannot load file './index' from module 'p-queue'

I have tried many ways to install p-queue, but all attempts have failed. I've been stuck on this issue for two days. Could anyone help me figure out how to successfully install it?

@transitive-bullshit
Copy link
Member

What is plasmo? You shouldn't have to add any additional dependencies like p-queue, since it's included as a dependency of notion-utils (source).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants