无法安装Strapi npm

q3qa4bjr  于 2022-12-29  发布在  其他
关注(0)|答案(1)|浏览(173)

我尝试安装strapi在我的项目,我得到了错误说

Error while installing dependencies:
npm WARN npm npm does not support Node.js v18.12.1
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.
npm WARN npm You can find the latest version at https://nodejs.org/
npm ERR! cb.apply is not a function

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\User\AppData\Local\npm-cache\_logs\2022-12-29T05_41_15_789Z-debug.log

 Keep trying!

Oh, it seems that you encountered errors while installing dependencies in your project.
Don't give up, your project was created correctly.
Fix the issues mentioned in the installation errors and try to run the following command:

我尝试安装 NodeJS 和NPM来改变许多版本,但它仍然没有消失。你能告诉我什么我错了或错过安装的东西。

sd2nnvve

sd2nnvve1#

看起来你的npm与你的节点版本不兼容。
你试过更新你的npm吗?

npm install -g npm@latest

相关问题