Can't install dependencies

Hello,
It had never happened before, and now, when I try to npm install anything, I keep getting this error:

npm ERR! path /app/node_modules/.staging/express-ad020772/node_modules/accepts
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall rename
npm ERR! enoent ENOENT: no such file or directory, rename '/app/node_modules/.staging/express-ad020772/node_modules/accepts' -> '/app/node_modules/.staging/accepts-14cbf41e'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent 

npm ERR! A complete log of this run can be found in:
npm ERR!     /app/.npm/_logs/2019-07-20T20_35_11_306Z-debug.log

Can anyone help me? Thanks

Run
enable-pnpm

And install your dependencies with
pnpm install package-name

This solve your problem?

4 Likes