Seeing issue #866 on npm 5.8.0
npm ERR! path /mnt/Temp/svc-project/node_modules/.isobject.DELETE/node_modules/isarray
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall rename
npm ERR! enoent ENOENT: no such file or directory, rename '/mnt/Temp/svc-project/node_modules/.isobject.DELETE/node_modules/isarray' -> '/mnt/Temp/svc-project/node_modules/isobject/node_modules/isarray'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
Running npm i [email protected] before npm install got rid of the error above but it errored out on another dependency
ENOENT: no such file or directory, rename '/mnt/project/node_modules/.ldap-filter.DELETE/node_modules/assert-plus' -> '/mnt/project/node_modules/ldap-filter/node_modules/assert-plus'
npm ERR! enoent This is related to npm not being able to find a file.
I am running npm on Ubuntu 16
Interestingly running the npm install on a non-mounted file system did not give this error and the install was successful
Try:
package-lock.jsonCreate a new issue if you are still having problems
I just deleted the existing node_modules and it worked for me.
Hello everyone,
Try to delete package-lock.json file and then install package what you want (that caused a renaming files).
It can fix a problem. I hope this help you :-)
Most helpful comment
Try:
package-lock.jsonCreate a new issue if you are still having problems