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

Error When Compiling Angular 8 Source Code #7

Closed
EthanTuning opened this issue Mar 9, 2020 · 2 comments
Closed

Error When Compiling Angular 8 Source Code #7

EthanTuning opened this issue Mar 9, 2020 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@EthanTuning
Copy link

Description:
Compilation error triggered when running ng serve. Error is very unpredictable. Some times the compiler reports the error but the application still runs and works fine. Other times the error halts compilation and execution all together.

To Reproduce:
Simply run ng serve on application.

Expected behavior:
Should compile and run fine with no errors.

Version:

  • node.js: [10.15.1]
  • xmlbuilder2 [1.4.3]

Additional context:
The attached photo shows both cases after compilation. The top highlighted section is an example of the project not being compiled and not executing due to error. The bottom highlighted section shows the error being reported, yet still compiling and running just fine.

Screenshot_1

@EthanTuning EthanTuning added the bug Something isn't working label Mar 9, 2020
@oozcitak
Copy link
Owner

oozcitak commented Mar 10, 2020

It appears this is an angular issue. Upgrading to Angular 9 or updating TypeScript should resolve this. See for example: storybookjs/storybook#9463 and the real culprit: microsoft/TypeScript#33939

@EthanTuning
Copy link
Author

Great, thanks. Will look into that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants