Using NPM with Vagrant

Using a Vagrant Ubuntu backend on a Windows 10 is my current preferred development environment, but unfortunately the folder syncing process causes a lot of issues. A recent project I'm doing involves a lot of JS, and npm in particular caused quite a few headaches. This is a list of stuff I had to do in order for it to work:


  • RSync is one way, useless.
  • npm is generally weird to use on shared folders, most of which is due to symlinks.
  • Windows Linux subsystem is useless, you can't edit stuff from Windows.