RuD3B0y
RuD3B0y

Reputation: 141

Cannot create new project via ng cli using "ng new" command

Actually I've used angular in windows and I didn't faced this problem after updated to ng 4. But when i'm trying this to ubuntu after updating to ng 4, I'm facing this issue while trying to create a new app using ng new command. See the below image. enter image description here

Upvotes: 1

Views: 1446

Answers (1)

Kim Kern
Kim Kern

Reputation: 60497

It seems like you have an npm project (a package.json file) within your desktop folder or in the path above. Either delete or move that project or put your new project in a different directory. see https://github.com/angular/angular-cli/issues/2818#issuecomment-257964822

Upvotes: 1

Related Questions