如何在 Eclipse (Windows OS) 中设置 Node.js 版本



尝试在Eclipse中运行"ng serve"时,它返回以下错误:

You are running version v6.9.4 of Node.js, which is not supported by Angular CLI 8.0+.
The official Node.js version that is supported is 10.9 or greater.
  • Eclipse 终端中运行 "node -v" 时,它返回:v6.9.4
  • 命令提示符下运行"node -v"时,它返回:v10.16.3

如何升级 Eclipse 中的节点版本以使用 Angular CLI?

据我所知,我认为没有一种日食集成的方式来完成这个过程。您只需从这里下载node.js + npm https://nodejs.org/download/release/然后打开一个终端或cmd,然后在您的node.js项目目录中,然后正确"npm install myPackage">

最新更新