-
Notifications
You must be signed in to change notification settings - Fork 12k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ng build/serve fails with "Error: No errors" message #4264
Comments
What version of |
How can I get the version of this |
@duard |
|
That's very odd... did you remove your node-modules? You should get something like this:
|
I'm also experiencing this just now - does angular-cli pin package version numbers under the hood ? |
I can confirm that the problem does not occur anymore after installing the plugin at version 2.0.0-rc.0 |
This problem arises from a recent update in a external dependency and it's not fixable without a CLI release right now. The workaround by @drakenfly is the only option right now:
|
Yes, I did
npm install is very slow here, I hope this work. |
Same issue here since half an hour or so:
This was driving me nuts... can we PLEASE pin versions and stop using bleeding edge chaos unless some library explicitly asks for it? (e.g. like java/maven is doing it since forever)?! 😡 |
Thanks @drakenfly |
I'm going to leave this open since a lot of people are going to be searching for it. Will also change the title to something more obvious. |
The new version uses ExtractTextWebpack 2.0.0.-rc.1 which contains the bug, it's still not fixed |
I'm experiencing the same issue, 'no error' is displayed when I run ng serve. └─┬ [email protected] |
@drakenfly Thanks. That did the trick.
|
Thanks @drakenfly ! |
Thanks - that fixed me too!! |
Just today I started learning angular-cli. About 4 hrs it was working fine and started error an hour ago replacing the extract-text-webpackage solved the issue. Thanks filipesilva. |
@laumair this fix works for me, but it's only a hacky fix, and it prevents me from deploying to Heroku.. |
Thanks @drakenfly ! fixed now by running "npm install [email protected] --save-dev" |
"npm install [email protected] --save-dev" also works for me. Thanks. |
If I remove the
any suggestion? Thanks |
You could try to clean your npm cache by running |
@drakenfly The error happens in a clean installation inside a |
Seriously disappointed trying to learn angular ... (node:1950) DeprecationWarning: npm ERR! Darwin 14.5.0 npm ERR! Please include the following file with any support request: |
Thanks @drakenfly |
|
Can confirm, |
Worked for me too |
Yeah, That works ! |
Works for me too! |
Thanks @drakenfly |
Thanks @drakenfly |
npm install [email protected] --save-dev ok worked but what the heck is wrong :( i am trying to learn angular 2 |
Thanks @drakenfly ! fixed now by running "npm install [email protected] --save-dev" |
Thanks @drakenfly "npm install [email protected] --save-dev" |
Does not work for me. I had another error prior to this, which told me that I am lacking a module called ajv I installed it but the error goes on....
|
@laumair , you saved my life. My hero. hahaha |
npm install [email protected] --save-dev This did the trick on a Win10 (64-bit) box as well. Thanks! |
@duard exact same error just now on Windows x64 using yarn to load / download dependencies |
@stanleytakamatsu It looks like the entry in your If you remove the
|
@stanleytakamatsu look at your package.json - what is the exact version that is saved to your package file? I think you need to remove the caret at the start - so the line looks like: |
Guys this is insane, use fucking yarn, and pin your shit! |
Maybe this discussion should be locked with the solution as the last comment. There is nothing more that can be added here. |
OS?
Ubuntu 16.10
Versions.
Repro steps.
New app created using =>
ng new PROJECT
The log given by the failure.
ng serve
This is just a new ubuntu and a new node npm and angular-cli install
`carlos@carlos-Z97M-D3H:~/empresa.com.br/PROJECT(master○) » npm start 1 ↵
`
The text was updated successfully, but these errors were encountered: