npm无法使用,项目无法启动问题解决

312 阅读1分钟

Vue 启动服务时,突然报错了,有些新手不知道如何解决。

  • npm v9.2.0 is known not to run on Node.js v12.22.1. You'll need to upgrade to a newer Node.js version in order to use this version of npm. This version of npm supports the following node versions: ^14.17.0 || ^16.13.0 || >=18.0.0. You can find the latest version at nodejs.org/.
  • 问题描述很清楚问题描述很清楚,node版本过低,需要升级新版本node即可。访问nodejs.org/. 下载最新的node,重新安装即可