-
-
Notifications
You must be signed in to change notification settings - Fork 325
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
node版本 #47
Comments
sh: 当前node版本(如果没有node,请自行安装): : not found sh: 当前npm版本(如果没有npm,请自行安装): : not found WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. npm ERR! A complete log of this run can be found in: /root/.npm/_logs/2023-09-11T05_35_54_614Z-debug-0.log [notice] A new release of pip is available: 23.0.1 -> 23.1.2 |
永久设置 node 版本nvs link 18.17.1
脚本中还有个错误 |
|
npm ERR! code EBADENGINE
npm ERR! engine Unsupported engine
npm ERR! engine Not compatible with your version of node/npm: npm@10.1.0
npm ERR! notsup Not compatible with your version of node/npm: npm@10.1.0
npm ERR! notsup Required: {"node":"^18.17.0 || >=20.5.0"}
npm ERR! notsup Actual: {"npm":"9.6.7","node":"v18.16.0"}
我执行的时候报这个错,然后我用nvm下载了一个18.17.1的版本它还是显示老的node版本,不知道是什么原因
The text was updated successfully, but these errors were encountered: