Installing npm packages on a VM with synced host directory

I’m running a fresh install of CentOS 6.5 in Vagrant for building a new app on the MEAN stack. My app lives in a directory on the host box and I’m syncing it to /var/app on the VM using the config.vm.synced_folder configuration in my Vagrantfile.

Trying to install jade via npm yesterday was giving me fits until I found this nugget:

npm install --no-bin-links

Symlinks in this scenario will have issues, so it actually made sense once I found the answer. Neat.