Skip to content
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

npm install 报错问题解决 #41

Open
oliveying opened this issue Dec 4, 2023 · 0 comments
Open

npm install 报错问题解决 #41

oliveying opened this issue Dec 4, 2023 · 0 comments

Comments

@oliveying
Copy link
Owner

直接使用npm install 报如下错误

npm WARN npm npm does not support Node.js v16.20.2
npm WARN npm You should probably upgrade to a newer version of node as we
npm WARN npm can't make any promises that npm will work with this version.
npm WARN npm Supported releases of Node.js are the latest release of 6, 8, 9, 10, 11, 12.
npm WARN npm You can find the latest version at https://nodejs.org/
  • 告诉我npm版本过老,需要更新

使用npm install -g npm@latest更新报如下错误

npm install -g npm@latest
npm ERR! cb.apply is not a function

npm ERR! A complete log of this run can be found in:

解决方案

  • 更新node,npm就直接更新了
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant