I\'ve installed node from https://nodejs.org/en/download and then I installed angular CLI via NPM using
npm instal
Follow this issues in https://github.com/angular/angular-cli/issues/9187
Install in your project
npm install @angular-devkit/schematics
ng -v
Angular CLI: 1.6.3
Node: 9.2.0
OS: linux x64
Angular: 5.2.0
Confirmed issue on:
Angular CLI: 1.6.3 Node: 6.10.3 OS: win32 x64
Angular CLI: 1.6.3 Node: 6.10.3 OS: linux x64
Angular CLI: 1.6.4 Node: 8.0.0 OS: win32 x64
In each cases i'm using nvm.
Works after uninstalling and specifically installing angular cli version 1.5.5
Try to use an older version of Angular CLI until this problem get solved.
You can follow this issue in https://github.com/angular/angular-cli/issues/9172.
EDIT: I found a solution, run these commands:
npm un -g @angular/cli
npm cache clean --force
npm i -g @angular/cli
It worked for me.
Issue has been fixed.
Remove node_modules
and run npm install
to get the latest dependencies.
I follow the steps
I could create application, component and others
updated 12-JAN
I update angular-cli up 1.6.4, Node up 9.4.0 and worked fine for me to create new project