报错:cli project relies on the local Nodejs environment for operation. Please install and configure it to the system environment variables before trying again. Details:https://hx.dcloud.net.cn/Tutorial/configureEnvironmentVariables
提供的网页打开404;
报错:cli project relies on the local Nodejs environment for operation. Please install and configure it to the system environment variables before trying again. Details:https://hx.dcloud.net.cn/Tutorial/configureEnvironmentVariables
提供的网页打开404;
1 个回复
最佳回复
jjyy (作者) - 85后IT男。。。。。。
nvm环境
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && . "$NVM_DIR/bash_completion" # This loads nvm bash_completion
我用的nvm,在.bash_profile加上上面内容,就可以了。