I just tried to create a new project with angular-cli, then running the server but it halts with a fun message : Error: No errors
.
I updated it this way (hoping it helps) : npm uninstall -g angular-cli ; npm cache clean ; npm install -g angular-cli@latest
But it is same issue. See all messages here : http://pastebin.com/AhbdHRR7
Fortunalty, my other projects are still working.
But what happens for a new one ?
JPM
node -v ==> v6.9.4
npm -v ==> 4.1.2
ng version ==> angular-cli: 1.0.0-beta.26
ng serve — This command builds, deploy, serves and every time watches your code changes. if find any change in code it builds and serves that code automatically.
ng serve is a great command to use when developing your application locally. It starts up a local development server, which will serve your application while you are developing it. It is not meant to be used for a production environment.
According to this bug report you need to install an extra dependency.
npm install [email protected] --save-dev
Which made it work for me.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With