6

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
1
  • ng build has the same issue ... it is not connected only to serve command Commented Jan 28, 2017 at 15:14

1 Answer 1

12

According to this bug report you need to install an extra dependency.

npm install [email protected] --save-dev

Which made it work for me.

2
  • 1
    Pretty sloppy stuff from the angular team. Even the boiler plate "ng new" apps fail to start due to this.
    – Cheyne
    Commented Jan 28, 2017 at 19:47
  • I don't think this is an angular bug. The bug report referenced indicates that this is caused by the external dependency. Thanks @KIC, this worked for me.
    – dcinadr
    Commented Jan 28, 2017 at 20:00

Not the answer you're looking for? Browse other questions tagged or ask your own question.