1

我能够通过脚本安装 NVM 并能够执行类似的东西nvm use v6.3.1

但是,每次我尝试从我的 package.json 安装东西时,我都会收到此处所述的权限被拒绝错误
https://github.com/Microsoft/BashOnWindows/issues/14

我尝试在网上查找,但没有明确的答案。nvm 是否正在处理最新的 WSL?

4

1 回答 1

0

Is npm working ok for you?

Not sure if you error is related, but I found I had to either:

sudo apt-get install nodejs-legacy

or

sudo ln -fs /usr/bin/nodejs /usr/local/bin/node

in order to get Node to work properly.

于 2016-09-19T18:46:18.077 回答