admin管理员组文章数量:1123149
I've been having some issues with running my vite app using npm, so I proceeded to update it with the command :- npm install -g npm@latest --force
.
On checking the npm version, I get the following warning -
npm -v
npm warn cli npm v11.0.0 does not support Node.js v22.5.1. This version of npm supports the following node versions: `^20.17.0 || >=22.9.0`. You can find the latest version at /.
11.0.0
So for some reason beyond my understanding, it has reverted back my npm version to 11.0.0.
How do I update it to a version greater than 22.9.0
as it says.
本文标签:
版权声明:本文标题:npm warn cli npm v11.0.0 does not support Node.js v22.5.1. This version of npm supports the following node versions: `^20.17.0 | 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736550255a1944501.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论