0

I getting this error: "You have to be inside an angular-cli project in order to use the build command" after creating a new angular2 app from the CLI. I'm inside the project dir and I don't understand the meaning of the error.

Ace
  • 831
  • 2
  • 8
  • 28

1 Answers1

0

You need to cd into that newly created directory.

cd DIRECTORY_NAME_HERE

Then you can do:

ng build 
ng serve 
// etc
Mark Pieszak - Trilon.io
  • 61,391
  • 14
  • 82
  • 96