Skip to content
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

Demo host app of workbench application platform fails to start #152

Closed
danielwiehl opened this issue Jun 13, 2019 · 1 comment
Closed

Demo host app of workbench application platform fails to start #152

danielwiehl opened this issue Jun 13, 2019 · 1 comment
Assignees

Comments

@danielwiehl
Copy link
Collaborator

Current behavior

Since Angular 8 the demo host app of 'workbench application platform' fails to start with the following error:

  • polyfills-es2015.0c97deb922efbec0d091.js:1 Uncaught TypeError: Cannot set property 'true' of undefined
  • Uncaught Error: In this configuration Angular requires Zone.js

The error does not happen when serving the app with ng serve command line tool.

The app requires the 'web-animations-js' polyfill because the workbench uses AnimationBuilder API.

This issue is related to angular/angular-cli#14518.

Expected behavior

The host app can be started even with 'web-animations-js' polyfill imported.

Minimal reproduction of the problem with instructions

  1. Build the app with npm run app:workbench-application-platform:build-now:host-app
  2. Change to the directory of the generated app
  3. Install http-server from npm with npm i http server -g
  4. Start the http-server in the terminal with http-server command
  5. Open your browser and enter following address: http://localhost:8080/index.html
  6. See that no content is displayed and the error in the browser console.

Environment

  • SCION Workbench version: 0.0.0-beta.23
  • Angular version: 8.0

Additional context
Add any other context about the problem here.

@danielwiehl danielwiehl self-assigned this Jun 13, 2019
danielwiehl added a commit that referenced this issue Jun 13, 2019
…he app

This commit addresses issue #152 not to break the app, and is a workaround until angular/angular-cli#14518 is fixed.
simoneggler pushed a commit that referenced this issue Jun 13, 2019
…he app

This commit addresses issue #152 not to break the app, and is a workaround until angular/angular-cli#14518 is fixed.
@danielwiehl
Copy link
Collaborator Author

This application is end-of-life and no longer maintained.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant