-
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
Webpack rebuild error #4326
Comments
same issue, works fine on first build, subsequent builds fail.
versions
|
Same issue ... :( |
I agree, I started crying from joy of how fast it was... but started crying again when it crashed |
Same here on ubuntu 16.10 and node 6.9.2. Happens with ng-cli |
I may be wrong, but I believe it may have to do with the fact that the typescript doesn't get compiled, or at least compiled correctly after the first initial build. See my other comment |
I'm getting the same issue and have been debugging a little. Not found anything yet but here's an example project: https://github.com/intellix/angular-cli-b28/tree/master/src/app/lazy I only have the problem when saving lazy SCSS or HTML. Saving a TS doesn't give |
ok I reverted back to .26 so I can work for now but that was not enough.
until .28 gets stable |
@born2net I'll try it out |
That's it! Works also with the new version (.28). |
pew, have to do a workshop tomorrow. saved my day/night |
I have this problem. Windows 10 running However when I run EDIT: work just fine - for a time. After 6 reloads it gave me the same error as before.. |
beta 29 has the same error, but the fix doesn't work!! |
The same thing with beta.30 |
I have updated to node I also ran an |
npm install --save @ngtools/[email protected] Worked for me too! yay |
anybody facing this issue My steps to reproduce:
Note: This issue does not happen, when doing the same in a non lazy module. |
I did some research based on my problem, maybe it helps someone else as well: i introduced typings into the project, and since I did this, this problem happens with the live-reload of lazy loaded modules. No idea why this happens. Maybe someone can give a brief info about this? I'm using the oldschool way of typings as follows: package.json:
typings.json:
src/tsconfig.app.json:
|
I know this topic is closed, but when we search on Google this is the first result and I hope it helps whoever comes to this page and see the last comment. this works for me
ng details:
|
hocam su adresde #4326 da birkaç kişi sorun yaşamış |
@zinderud bende problem cözüldü bile aga |
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. |
OS?
Ubuntu 16.04
Versions
angular-cli: 1.0.0-beta.28.3
node: 7.4.0
os: linux x64
@angular/common: 2.4.5
@angular/compiler: 2.4.5
@angular/core: 2.4.5
@angular/forms: 2.4.5
@angular/http: 2.4.5
@angular/platform-browser: 2.4.5
@angular/platform-browser-dynamic: 2.4.5
@angular/router: 3.4.5
@angular/compiler-cli: 2.4.5
Repro steps.
Created the app with the
angular-cli
(ng new
). Ranng serve
to make sure everything was working. All was good, webpack worked and reported:I was able to load the app in a browser. Made a small change to the
app.component.ts
file (removed the trailing new line). Saved the file, webpack attempted to re-bundle the file, but failed.The log given by the failure.
The text was updated successfully, but these errors were encountered: