Nodejs + npm, installing modules on ntfs partition

前端 未结 7 1117
走了就别回头了
走了就别回头了 2021-01-30 06:52

I have a problem when installing npm modules. NodeJS is installed on Ubuntu 11.10 running on Virtual Box on Windows host. My project files are on NTFS partition (I have to share

7条回答
  •  误落风尘
    2021-01-30 07:41

    The Symlink permissions, or the --no-bin-links didn't work for us. Instead we opted to move our node_modules away from the /vagrant share. We created a symlink from /vagrant/node_modules to /tmp/node_modules. You can only do this if your node_modules is not in version control. Check this first!

    Also see http://kmile.nl/post/73956428426/npm-vagrant-and-symlinks-on-windows

提交回复
热议问题