4 ms·
yes, npm5 is the first version I've had to rollback. its strange that the lockfile was supposed to fix problems with un-repeatable installs, but I had several
by hitgeek 9y ago
yes, npm5 is the first version I've had to rollback.
its strange that the lockfile was supposed to fix problems with un-repeatable installs, but I had several issues fixed by simply deleting the lock file and re-installing.
- pier25 9y agoYeah, at one point I was doing this many times every day. rm -rf node_modules && rm package-lock.json && npm install
- whatever_dude 9y agoYeah I've had that too. My concern with the lock file is that it doesn't seem to be consistent across platforms (OSX and Windows) because of optional dependencies. I have a project with those (freaking fsevents) and every time I do npm install I it changes the lock file back and forth.