NPM Install Issue

Hiya, I was trying to install and update a few NPM packages this morning then glitch started doing its normal thing of reinstalling NPM to update the packages & then the project got stuck & started spitting out errors like

npm ERR! code ENOENT
npm ERR! syscall open
npm ERR! path /app/.npm/_cacache/tmp/8588749a
npm ERR! errno -2
npm ERR! enoent ENOENT: no such file or directory, open '/app/.npm/_cacache/tmp/8588749a'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent 
npm WARN tar ENOENT: no such file or directory, open '/app/node_modules/.staging/mongodb-5bab682e/lib/cmap/events.js'
npm WARN tar ENOENT: no such file or directory, open '/app/node_modules/.staging/ajv-2fba4683/lib/dotjs/validate.js'

And after it did this it restarted the project again and then just got stuck.

It would mean a lot to me if you could help me.

Thanks, Jimmy.

This is Glitch’s new update. You can see this post to fix it:

1 Like