Visual Studio Code to use node version specified by NVM

后端 未结 17 1219
渐次进展
渐次进展 2020-12-07 16:01

Is it possible for VS Code to use node version specified by NVM?

I have 6.9.2 installed locally. Even after switching to another version, from the OS X terminal (no

17条回答
  •  鱼传尺愫
    2020-12-07 16:52

    I tried all the suggested solutions but nothing was working.

    /usr/local/bin/node was pointing to somewhere. i made a symlink to a specific nvm node folder and that was solving the issue for me:

    ln -s /Users/mad/.nvm/versions/node/v11.1.0/bin/node /usr/local/bin/node
    

提交回复
热议问题