-
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 serve crashes after second save angular-cli v6.2.4 #12553
Comments
This seems like a bug but we'll need to look at a reproduction to find and fix the problem. Can you setup a minimal repro please? You can read here why this is needed. A good way to make a minimal repro is to create a new app via |
I am also seeing this behavior in an existing app that I just upgraded, however upon fresh installation of a new app, I can't reproduce it. |
We have exactlly the same problem, hope it gets resolved soon. `i 「wdm」: Compiling... Error: ENOENT: no such file or directory, stat 'C:\Dev2\RevueDePrets\projet\src\URP.WebApp\src\app\app.component.ngfactory.js' npm ERR! A complete log of this run can be found in: |
@filipesilva 👍 then edit one of the project file (.ts or ,html) and save it... then the compiler crash,,, |
@spaceman101 I think something is missing from that repro, because I can't see it happen locally:
If you have a new project that shows that behaviour can you commit it to github and share it here please? |
@spaceman101 awesome, thanks. I can't look at it today because I'm already out but can look at it Monday morning. Can you also tell me exactly what you do to trigger the rebuild please? The file you change, and how you change it. |
The exact console output you see would also help a lot. |
I change the value of the var title in app.component.ts and save it. I've reproduced it with the project open in Visual Studio Code and also juste by editing the file in notepad++.
/ △ \ | '_ \ / Angular CLI: 6.2.5 Package Version@angular-devkit/architect 0.8.5
|
Workaround: #12260 (comment) |
Nope, that's the angular.json part in the project:
|
@spaceman101 when you use the latest angular-cli and Error: #12553 (comment) |
It appears the issue is |
@clydin excellent! A simple |
Running |
It's working now! Thanks! |
We have a couple of PRs that should fix this. #12588 should fix it for Angular CLI 6.2.x. It pins To workaround this problem now you can do For version 7 we have a more complete fix in #12591 that should fix the problem with any version of |
Fixed via #12588, will be out in 6.2.6. |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
This seems a regression of #8522
I've been using Angular-CLI v6.0.8 for months without any problem.
Today I decided to upgrade to the latest version: v6.2.4
When I run
ng server
I don't have any problems, but when I---aot
every second save crashes the cli.My IDE is WebStorm.
The changelog of my package.json:

The NPM debug log:
The text was updated successfully, but these errors were encountered: