npm install without symlinks option not working

前端 未结 3 1953
情话喂你
情话喂你 2020-12-29 03:14

I setup a development environment with Windows 8 and Ubuntu as a virtual machine. For that I use VirtualBox.

I also manage to create a shared folder in VirtualBox.

3条回答
  •  太阳男子
    2020-12-29 03:21

    I have a similar environment. Apparently the Virtualbox (vagrant) synchronisation has problems when renaming or moving files, which happens when updating modules.

    If you do a file listing (ls -alhp) on the command line and see ??? for the file permissions, then it is time to reboot your virtualbox. This will set the permissions to valid values. Then use the --no-bin-links option when installing a module.

提交回复
热议问题