sindresorhus / p-queue

Promise queue with concurrency control
MIT License
3.41k stars 182 forks source link

Module not found #142

Closed mysuf closed 3 years ago

mysuf commented 3 years ago

version: 7.1.0

Error: Module not found: Can't resolve 'p-queue'

It works with previous major version (v6.6.1). I tried upgrading node from v12.22.1 to v14.6.1, because package.json's exports key was experimental in v12, however it didn't help. Replacing exports by main in package.json fixes the issue. Command: react-scripts start. Any idea? Thanks

sindresorhus commented 3 years ago

Please read the release notes. This is a problem with react-scripts.

vorousjames commented 3 years ago

linking to the release notes would be helpful since i cant find it in the readme.

dutzi commented 3 years ago

@sindresorhus, there is no reference to react-script or module not found in the repo, can you please elaborate?

WilliamAlexander commented 3 years ago

https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c