Reputation: 31
After firing a command in VSCode Terminal $ ng --version the following came out.
Angular CLI: 1.6.3 Node: 9.4.0 OS: darwin x64
Angular: error ... animations, cdk, cli, common, compiler, compiler-cli, core ... forms, http, language-service, material, platform-browser ... platform-browser-dynamic, router
typescript: error webpack: error
Question: Is this the reason I cannot have error in ng serve --open command. How can I resolve this.
Thanks
Upvotes: 1
Views: 4036
Reputation: 2492
You may be picking up the global ng
, which in this case is reporting the versions of project level packages — try npm install
.
Upvotes: 1