I am trying to create a project (named ngadmin) via the angular cli but it throws errors on this command: ng new ngadmin
. The errors are:
You must have used local "npm install @angular/cli" command to install angular locally in your project.
Uninstall local angular using "npm uninstall @angular/cli" install angular globally using "npm install -g @angular/cli"
and then try "ng new ngadmin"
Because "ng new projectName" will automatically install angular/cli locally as a dev-dependency