Bug Report or Feature Request (mark with an x)
- [x] bug report -> please search issues before submitting
- [ ] feature request
Versions.
"Node": "7.2.1"
"NPM": "4.0.5"
"@ngtools/webpack": "1.3.3"
Repro steps.
Hi Angular CLI team! I have been using @ngtools/webpack to build and compile my angular universal app based on @fulls1z3 's ng-seed/universal repo.
With versions 1.3.3 and before, our builds have been working fine but since the latest releases 1.4.2, we have been getting errors raised when running our apps webpack bundles. See related issue ng-seed/universal#29.
Webpack/Node does not error during the build process but upon running the app, we get this in the console. We have reverted back to 1.3.3 whilst we look for a fix to this but wanted to raise it to see if you can help.
Uncaught Error: No NgModule metadata found for 't'.
at t.resolve (app.3be5665….bundle.js:1)
at t.getNgModuleMetadata (app.3be5665….bundle.js:1)
at t._loadModules (app.3be5665….bundle.js:1)
at t._compileModuleAndComponents (app.3be5665….bundle.js:1)
at t.compileModuleAsync (app.3be5665….bundle.js:1)
at e._bootstrapModuleWithZone (app.3be5665….bundle.js:1)
at e.bootstrapModule (app.3be5665….bundle.js:1)
at r (app.3be5665….bundle.js:1)
at r (app.3be5665….bundle.js:1)
at Object.163 (app.3be5665….bundle.js:1)
Mention any other details that might be useful.
ng-seed/universal