Environment: Mac
Problem Description:
Every time you open vscode, the node -v version is v8.9.1
Obviously the version is too low, but many attempts have not worked
Solutions:
The first step
npm config delete prefix
npm config set prefix $NVM_DIR/ versions/node/v8.11.2Copy the code
The second step:
Setting: search terminal. Integrated. ShellArgs. Osx, get default values
Refer to official documentation:
Code.visualstudio.com/docs/editor…
Code.visualstudio.com/docs/getsta…
Folk document
Pangjunpeng.com/2018/12/17/…