Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Unable to run npm install on clean install. #752
Host operating system
MacOS High Sierra 10.13.1 (17B1003)
NPM Install falls over with this error.
npm ERR! path /home/vagrant/code/hodgehill/node_modules/.acorn-dynamic-import.DELETE/node_modules/acorn
npm ERR! A complete log of this run can be found in:
Steps to reproduce
I don't have NPM on my Mac.
Here is the exciting stuff at the end.
23939 silly remove /home/vagrant/code/hodgehill/node_modules/path-type
Not sure how much help I'm going to be. Google shows it could be symlinking issues (but you're not on windows) and some mounting issues (But your shared bits of logs don't mention it).
The underlying problem is related to how Windows file locking is handled by Virtualbox sharing. It happens whether using standard shared folders (vboxsf) or nfs. If a file is opened or read (locked) by another process while
How to fix:
If you are still having issues with point 2 above, you can use Process Monitor, filtered to your vagrant directory, to detect access by any process other than Virtualbox (VBoxHeadless.exe).
With the above in place I am able to successfully run