Closed MohanadI closed 7 years ago
Are you in the root project directory? Not the angular
directory, but the Lumen root directory.
if you use ng build command root project directory in direct you get error You have to be inside an angular-cli project in order to use the build command. But if u run npm run build Everything OK.
Apologies. I had the wrong npm package for Angular CLI.
It is npm install -g @angular/cli
, not npm install -g angular-cli
Thanks now its working perfectly .
Hello ,
after I type " ng build --watch " this error appears !
any suggestions .
Thank you .