-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Closed
Description
Versions
Angular CLI: 6.0.3
Node: 10.1.0
OS: linux x64
Angular: 6.0.2
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, router, service-worker
Package Version
-----------------------------------------------------------
@angular-devkit/architect 0.6.3
@angular-devkit/build-angular 0.6.3
@angular-devkit/build-optimizer 0.6.3
@angular-devkit/core 0.6.3
@angular-devkit/schematics 0.6.3
@angular/cli 6.0.3
@angular/pwa 0.6.3
@ngtools/webpack 6.0.3
@schematics/angular 0.6.3
@schematics/update 0.6.3
rxjs 6.1.0
typescript 2.7.2
webpack 4.8.3
Target: es2016
Repro steps
Here is the repo for repro. It's deployed to github pages here
ng new --routing -p basic -S -g --style scss basic-angular-app
- Update
tsconfig.json
to target ES2016. (Note: Problem happens with ES5 as well, I tried) ng build --prod --output-path docs --base-href basic-angular-app
- Git add and push to master branch
- Blank white screen, check console to see error
Observed behavior
Uncaught ReferenceError: Must call super constructor in derived class before accessing 'this' or returning from derived constructor
Desired behavior
App to just work and see the hello world screen with angular logo.
Mention any other details that might be useful (optional)
This is happening on my other project. It also lives in Github pages. You can see the same error there as well. It's broken in production.
larssn, woutervddn and umarov
Metadata
Metadata
Assignees
Labels
No labels