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.

Sign up to request clarification or add additional context in comments.

2 Comments

Pretty sloppy stuff from the angular team. Even the boiler plate "ng new" apps fail to start due to this.
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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.