Closed liamegan closed 8 years ago
Sorry people. This was happening because I was using vagrant and trying to load the project into the synced folder. The problem here is that locking isn't supported when syncing files in this way and so npm install fails (and will fail) in weird places.
To get around this, for anyone else who runs into the same issue and wants both synced files and locally installed node modules, you should create a node modules folder outside of the synced folder and link to it. Something like:
$ mkdir ~/node_modules/
$ cd ~/your_new_app/
$ ln -s ~/node_modules/