Nodejs + npm, installing modules on ntfs partition

前端 未结 7 1036
走了就别回头了
走了就别回头了 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:39

    fsutil behavior set SymlinkEvaluation L2L:1 R2R:1 L2R:1 R2L:1

    this command enables symlinks on windows. for a better explanation to the cryptic commands at the end visit: How do I overcome the "The symbolic link cannot be followed because its type is disabled." error when getting the target of a symbolic link on Server 2008?

    in summary

    The behavior codes for fsutil behavior set SymlinkEvaluation - namely L2L, L2R, R2L, and R2R - mean the following:

    L stands for "Local", and R for "Remote" (who would've thunk?) The FIRST L or R - before the 2 - refers to the location of the link itself (as opposed to its target) relative to the machine ACCESSING the link. The SECOND L or R - after the 2 - refers to the location of the link's target relative to the machine where the LINK itself is located.

提交回复
热议问题