I\'m just running a simple npm install
and i get this error.
npm ERR! path /Users/jasonazoulay/Desktop/fabrick.io/delegation/node_modules/@angul
I had a similar problem and what seems to have worked is to uninstall npm and reinstall it, making sure to be logged in as the correct user for the reinstall. I think I previously installed npm as root, but was updating a package as a regular (sudo) user.
C:\Program Files (x86)\Nodejs
C:\Program Files\Nodejs
C:\Users\{User}\AppData\Roaming\npm (or %appdata%\npm)
C:\Users\{User}\AppData\Roaming\npm-cache (or %appdata%\npm-cache)
C:\Users\{User}\.npmrc (and possibly check for that without the . prefix too)
C:\Users\{User}\AppData\Local\Temp\npm-*
Try running npm update -g npm
then run npm i
again.
If that doesn't work maybe npm cache clean
helps.
If that doesn't work either you should consider removing the node_modules
folder in your application and running npm i
again.
If you still have no luck, I suggest removing the package-lock.json
and the node_modules
folder before running npm i
.
I the same error but when I was trying to update module "cordova" to version 9. I fixed it by forcing the install with --force
. The npm command I used:
npm i -g --force cordova@9
node_modules
directory completely. npm install
again.This should help.
I had this problem when working on a virtual, encrypted disk. Moving the project to a regular disk solved the problem.