# if running inside VirtualBox on a shared folder
# you must enable symlinks on the shared folder
$ VBoxManage setextradata "<vm name>" VBoxInternal2/SharedFoldersEnableSymlinksCreate/<shared folder> 1
# verify with
$ VBoxManage getextradata "<vm name>" enumerate
npm install --no-bin-links
-
On the host machine (assuming Windows), but some variation of this will work in any OS: cd
C:\Program Files\Oracle\VirtualBox
-
Run the following command:
VBoxManage setextradata VM_NAME VBoxInternal2/SharedFoldersEnableSymlinksCreate/SHARE_NAME 1
replacing
VM_NAME
with your Virtual Machine's name (if you don't know this, in VBox go toMachine > Settings > General > Basic > Name
--- also replaceSHARE_NAME
with the name of your shared folder, if you don't remember this, go toMachine > Settings > Shared Folders
. -
Restart your VM AND VirtualBox, but run it as administrator. On Windows hosts, just right click the icon for VirtualBox and select Run as Administrator.