<!--
Output from: `ng --version`.
@angular/cli: 1.4.5
node: 6.11.1
os: win32 x64
@angular/animations: 4.4.6
@angular/common: 4.4.6
@angular/compiler: 4.4.6
@angular/core: 4.4.6
@angular/forms: 4.4.6
@angular/http: 4.4.6
@angular/platform-browser: 4.4.6
@angular/platform-browser-dynamic: 4.4.6
@angular/router: 4.4.6
@angular/cli: 1.4.5
@angular/compiler-cli: 4.4.6
@angular/language-service: 4.4.6
typescript: 2.3.4
-->
Repro steps
Observed behavior
<!-- Normally this includes a stack trace and some more information. -->
Desired behavior
Mention any other details that might be useful (optional)
Calling this solution in your project folder worked for me, from stackOverflow:
npm install --save @angular/cli@latest
I had the same issue with CLI
1.4.9
. If you don’t want/need to updateangular-cli
to a major version, just run the following commands:Now I’m able to use CLI
1.4
with latest node version8.9.2
Also, if you prefer to stay on 1.4, upgrade to the latest patch release in the series (currently 1.4.10). If the issue persists, please re-open the issue.