nodejs / readable-stream

Node-core streams for userland
https://nodejs.org/api/stream.html
Other
1.03k stars 229 forks source link

Error that I don't know how to fix #504

Closed jack11e closed 1 year ago

jack11e commented 1 year ago

It keeps saying this: Error: Cannot find module 'C:\Program Files\nodejs\node_modules\npm\node_modules\are-we-there-yet\node_modules\readable-stream\lib\ours\index.js'. Please verify that the package.json has a valid "main" entry

RishabhKodes commented 1 year ago

Hi @jack11e, I had a similar issue.

Try:

  1. delete your node_modules file
  2. run npm i or npm install again

You should be good to go!

cullsin commented 1 year ago

Hi,

I, too, have the same problem. I am using yarn install. I have tried multiple node versions. but no improvement. Please suggest. It is occurring for the mongoose npm module.

Raja K