NotionX / NotionX/react-notion-x

Webpack build can't resolve p-queue or mem

Open
#343 4 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
5.4k
Forks
645
PR merge metrics
No merged PRs in 30d

Description

Description

Webpack 4 builds throw can't resolve p-queue and mem in node_modules/notion-utils/build

Example repo (fork and run): https://replit.com/@nathanwaters3/Reactjs-Babel-Webpack-Boilerplate#src/App.js

In that Repl it only throws p-queue error but in local build it also throws mem "can't resolve" error.

Notion Test Page ID

In code

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the Webpack 4 build from the linked Replit example and inspect dependency resolution under node_modules/notion-utils/build. Check why p-queue and mem cannot be resolved; done means the build completes without either resolution error.

Written by the indexing model from the issue text.

Assessment

Tech stack
webpack
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.