npm v9.4.0 不支持 Node.js v14.15.0

问题描述 投票:0回答:1

什么是(

npm
)的接受版本
Node.js v14.15.0
。给我以下错误:

npm WARN cli npm v9.4.0 does not support Node.js v14.
15.0. You should probably upgrade to a
npm WARN cli newer version of node as we can't make any promises that npm will work with this
npm WARN cli version. This version of npm supports the following node versions: `^14.17.0 ||
npm WARN cli ^16.13.0 || >=18.0.0`. You can find the latest version at https://nodejs.org/.

注意:我不需要更改 (

Node.js v14.15.0
) 的版本,我需要接受 (
npm
) 的
Node.js v14.15.0
版本。

node.js npm
1个回答
0
投票

6.14.18 对我有用。

npm install -g [电子邮件受保护]

© www.soinside.com 2019 - 2024. All rights reserved.