Skip to content

Fresh 5.0.0-rc.4 install crashes: Uncaught Error: Zone already loaded. #2763

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

Closed
1 task done
albert-92 opened this issue Oct 13, 2018 · 2 comments
Closed
1 task done
Labels

Comments

@albert-92
Copy link
Contributor

  • I understand that GitHub issues are not for tech support, but for questions specific to this generator, bug reports, and feature requests.
Item Version
generator-angular-fullstack 5.0.0-rc.4
Node 8.12.0
npm 6.1.0
Operating System Windows 10
Item Answer
Transpiler Babel
Markup HTML
CSS SCSS
Client Tests Jasmine
DB MongoDB
Auth Y

A fresh 5.0.0-rc.4 install crashes when http://localhost:8080/ is loaded in the browser with the two following errors:

Uncaught Error: Zone already loaded.
    at zone.js:32
    at zone.js:644
    at ./node_modules/zone.js/dist/zone.js.FUNCTION (zone.js:9)
    at Object.<anonymous> (zone.js:12)
    at Object../node_modules/zone.js/dist/zone.js (zone.js:3060)
    at __webpack_require__ (bootstrap:724)
    at fn (bootstrap:101)
    at Object../client/app/polyfills.js (polyfills.js:5)
    at __webpack_require__ (bootstrap:724)
    at fn (bootstrap:101)
    at Object.1 (zone.js:3060)
    at __webpack_require__ (bootstrap:724)
    at bootstrap:791
    at bootstrap:791
Uncaught Error: Can't resolve all parameters for ApplicationModule: (?).
    at syntaxError (compiler.js:1021)
    at CompileMetadataResolver../node_modules/@angular/compiler/fesm5/compiler.js.CompileMetadataResolver._getDependenciesMetadata (compiler.js:10922)
    at CompileMetadataResolver../node_modules/@angular/compiler/fesm5/compiler.js.CompileMetadataResolver._getTypeMetadata (compiler.js:10815)
    at CompileMetadataResolver../node_modules/@angular/compiler/fesm5/compiler.js.CompileMetadataResolver.getNgModuleMetadata (compiler.js:10683)
    at CompileMetadataResolver../node_modules/@angular/compiler/fesm5/compiler.js.CompileMetadataResolver.getNgModuleSummary (compiler.js:10493)
    at compiler.js:10607
    at Array.forEach (<anonymous>)
    at CompileMetadataResolver../node_modules/@angular/compiler/fesm5/compiler.js.CompileMetadataResolver.getNgModuleMetadata (compiler.js:10595)
    at CompileMetadataResolver../node_modules/@angular/compiler/fesm5/compiler.js.CompileMetadataResolver.getNgModuleSummary (compiler.js:10493)
    at compiler.js:10580
    at Array.forEach (<anonymous>)
    at CompileMetadataResolver../node_modules/@angular/compiler/fesm5/compiler.js.CompileMetadataResolver.getNgModuleMetadata (compiler.js:10558)
    at JitCompiler../node_modules/@angular/compiler/fesm5/compiler.js.JitCompiler._loadModules (compiler.js:23876)
    at JitCompiler../node_modules/@angular/compiler/fesm5/compiler.js.JitCompiler._compileModuleAndComponents (compiler.js:23857)
    at JitCompiler../node_modules/@angular/compiler/fesm5/compiler.js.JitCompiler.compileModuleAsync (compiler.js:23817)
    at CompilerImpl../node_modules/@angular/platform-browser-dynamic/fesm5/platform-browser-dynamic.js.CompilerImpl.compileModuleAsync (platform-browser-dynamic.js:143)
    at PlatformRef../node_modules/@angular/core/fesm5/core.js.PlatformRef.bootstrapModule (core.js:4344)
    at HTMLDocument.main (app.js:16)
    at ZoneDelegate../node_modules/zone.js/dist/zone.js.ZoneDelegate.invokeTask (zone.js:421)
    at Zone../node_modules/zone.js/dist/zone.js.Zone.runTask (zone.js:188)
    at ZoneTask../node_modules/zone.js/dist/zone.js.ZoneTask.invokeTask [as invoke] (zone.js:496)
    at invokeTask (zone.js:1540)
    at HTMLDocument.globalZoneAwareCallback (zone.js:1566)

I couldn't figure out how to fix it. A rollback to 5.0.0-rc.2 helped, but rc.4 seems to be broken, at least on windows or with the current dependencies.

@albert-92
Copy link
Contributor Author

I just tried it on Ubuntu. Same error.

@Awk34
Copy link
Member

Awk34 commented Oct 22, 2018

Should be fixed by #2765

@Awk34 Awk34 closed this as completed Oct 22, 2018
@Awk34 Awk34 added the bug label Oct 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants