How to creat a new project from angular-cli
There is a problem with angular-cli. The is has closed. I think there are still issue https://github.com/angular/angular-cli/issues/5543#event-1009616731
How to creat a new project from angular-cli
There is a problem with angular-cli. The is has closed. I think there are still issue https://github.com/angular/angular-cli/issues/5543#event-1009616731
There is either a package.json or angular-cli.json currently in the directory you are trying to create the new angular project in. Please remove that file and you should be able to ng-new APP_NAME afterward.
npm -v will give you the information You need to have npm 3.0.0 or higher installed on your system. So if you do not have 3.0.0 or higher install it first.Firstly you need to have Node and npm installed on your system.
Then install angular-cli using the command
npm install -g @angular/cli
Then make a new project using the command
ng new NEW_PROJECT
Finally run using the command
ng serve
For more information please refer to these guidelines
PS: check your Node and npm version compatibility with your angular-cli project version.