question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. ItΒ collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Ivy] Compile Error with ngx-charts

See original GitHub issue

🐞 bug report

Affected Package

Ivy Template Compiler

Is this a regression?

"angularCompilerOptions": {
  "enableIvy": true // no work
  "enableIvy": false // work
}

Description

Doesn’t compile project

πŸ”¬ Minimal Reproduction

https://github.com/vdumbrav/angular-ivy-ngx-charts

πŸ”₯ Exception or Error

https://i.ibb.co/z5VZn7M/Screenshot-2019-05-16-16-42-06.png https://pastebin.com/PRVaP7n9

🌍 Your Environment

Angular Version: Angular CLI: 8.0.0-rc.4 Node: 10.15.3 OS: linux x64 Angular: 8.0.0-rc.4 … animations, cli, common, compiler, compiler-cli, core, forms … language-service, platform-browser, platform-browser-dynamic … router, service-worker

Package Version

@angular-devkit/architect 0.800.0-rc.4 @angular-devkit/build-angular 0.800.0-rc.4 @angular-devkit/build-optimizer 0.800.0-rc.4 @angular-devkit/build-webpack 0.800.0-rc.4 @angular-devkit/core 8.0.0-rc.4 @angular-devkit/schematics 8.0.0-rc.4 @angular/pwa 0.12.4 @ngtools/webpack 8.0.0-rc.4 @schematics/angular 8.0.0-rc.4 @schematics/update 0.800.0-rc.4 rxjs 6.4.0 typescript 3.4.5 webpack 4.30.0

Anything else relevant?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:12
  • Comments:16 (5 by maintainers)

github_iconTop GitHub Comments

5reactions
JoostKcommented, Nov 3, 2019

This is caused by a bug in the template compiler, see #32061, for which I opened a fix in #33555.

I have not targeted that PR to fix this issue, as I have not confirmed that there aren’t additional issues with ngcc that may still cause breakages.

4reactions
JoostKcommented, May 16, 2019

Actually, this might be an issue with ngcc.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Compile error when building with Angular Ivy - Stack Overflow
I have an angular 8 project and when I enable angular Ivy then it is getting failed during compile time. When I check...
Read more >
Angular 13.1.0 Repro @swimlane/ngx-charts@20.x.x
A angular-cli project based on @angular/animations, @angular/compiler, @angular/core, @angular/common, @angular/platform-browser-dynamic, @angular/forms,Β ...
Read more >
After upgrading to Angular 10, ivy ngcc is compiling as a esm5 ...
After upgrading to Angular 10, ivy ngcc is compiling as a esm5, ... as esm2015 Compiling @swimlane/ngx-charts : main as umd Compiling ......
Read more >
@swimlane/ngx-charts - npm
Start using @swimlane/ngx-charts in your project by running `npm i ... To learn how to use the ngx-charts components to build custom chartsΒ ......
Read more >
Changelog - ngx-charts - GitBook
Add compatibility with Ivy. Breaking: Remove deprecated force-directed graph chart. Breaking: Remove release folder. Bug: Sanitize tooltip labels (#1241).
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found