Node-sqlite3: ENOENT: no such file or directory, rename

Created on 10 Apr 2018  路  5Comments  路  Source: mapbox/node-sqlite3

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 

Most helpful comment

Try:

Create a new issue if you are still having problems

All 5 comments

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:

Create 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 :-)

Was this page helpful?
0 / 5 - 0 ratings