报错: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;
最佳回复
jjyy (作者) - 85后IT男。。。。。。
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加上上面内容,就可以了。
用户2930498
Thank you so much for this. It really helped me after long hours of fixing.
2025-11-20 22:48