NPM更新从8.4.0到8.11.0失败
我正在Windows上运行Node.js和NPM!
我新安装了Node.js(V16.15.1)的最新LTS版本,该版本应包含8.11.0的NPM版本。
我已经安装了Windows软件包,并按照建议执行所有巧克力脚本。
但是,当我运行npm -v
时,我会得到以下输出:
npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead.
8.4.0
有什么想法解决此问题?
我已经尝试运行Choco升级所有
。
较旧的版本给我带来了问题,我还尝试重新启动机器。
I AM RUNNING NODE.JS AND NPM ON WINDOWS!
I newly installed the newest LTS release of Node.js (v16.15.1) which is supposed to contain npm version of 8.11.0.
I've installed the Windows package and executed all of the chocolatey scripts as recommended.
But when I run npm -v
I get the following output:
npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead.
8.4.0
Any idea how to fix this?
I already tried running choco upgrade all
.
The older version causes issues for me, I also tried restarting the machine.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论