Skip to content

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

Closed
@albert-92

Description

@albert-92
  • 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions