当我执行"npm install"时,我收到此错误
__PRE__
我更新到最新的节点v9.1.0,现在npm不起作用.
npm WARN npm npm不支持Node.js v9.1.0
可以看到它已经被问了十几次,但到目前为止我找到的解决方案都没有对我有用。
我已经在我的 Windows 10 PC 上安装了最新版本的 Node.js (12.18.3),我正在尝试使用 npm 安装一个包。当我输入npm -v它返回 5.6.0 时,在我看来它已经过时了 - 但是当我尝试安装软件包或更新 npm 时,我每次都会收到以下错误:
npm WARN npm npm does not support Node.js v12.18.3
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 4, 6, 7, 8, 9.
npm WARN npm You can find …Run Code Online (Sandbox Code Playgroud)