尝试在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">