I was trying to create a node.js (express.js) app on a shared folder in VirtualBox (guest Ubuntu, host Win7). During this try I got an error saying symlinks are not supported by my drive. This is a minor issue, but...
If symlinks are so important to node projects how it's possible to store the project on SVN service (which ignores symlinks). Or what happens if I ZIP the directory with the project and send it to someone. Will it still work?
It seems like a silly question, but I just got an error on creating an express.js project caused by symlinks-not-supported message.
I don't know how exactly you were creating your express project nor how you came by the error, but I can tell you from experience that symlinks are not essential for node projects.
My usual development environment is Windows 7 and deploying to linux is just a simple matter of moving the files into the other environment either by packing them, using git or creating a nvm package or any other way.
If you would like to enable the creation of symlinks in VirtualBox use the following:
VBoxManage setextradata VM_NAME VBoxInternal2/SharedFoldersEnableSymlinksCreate/SHARE_NAME 1
Note that the SHARE_NAME should not include the sf_ part - just the name visible when you view it in the Shared Folders screen in the VirtualBox interface.
This will enable symlink creation from a guest. However, it could open up a security issue. You can read more about the problem on the VirtualBox site here and decide if it is the correct choice for your requirements. Another discussion of this solution for Windows users is here.