I updated to angular 7 and im getting this error when trying to create a new angular project.
ng new error:
angular version:
I updated to angular 7 and im getting this error when trying to create a new angular project.
ng new error:
angular version:
You try with --version
option
For example
ng new test-app --version 7
This solution is definitely working for you
"New project names must start with a letter, and must contain only alphanumeric characters or dashes. When adding a dash the segment after the dash must also start with a letter.
Invalid- new_something
Valid- new-something"
I'd advise you change your naming convention
try: angular-project
WebStorm: New AngularCli Project: Error: directory should match format "path"
Problem Solved:
there was a folder named "node_modules" in my home directory. deleting it solved the case.
for more refer: ng new has stopped working after updating to Angular 6