So I chosed VMWare share folder function. But unfortunally, unlike Golang, Ruby or other languages, nodejs dependencies will be installed at project folder. Which means If I execute npm install
, Linux will try to write files to my share folder.
I tried to use NODE_PATH
. In most situation it works. But if you want to use something like angular-cli to boot your project, it doesnt work.
So, how could I download node_modules
file properly in VMWare share folder.
npm rebuild xxx
for deps which are using C++ addons in VMWare.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.