Skip to content

Support Ivy Distribution #181

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

Closed
chuma2150 opened this issue Nov 22, 2021 · 5 comments · Fixed by #230
Closed

Support Ivy Distribution #181

chuma2150 opened this issue Nov 22, 2021 · 5 comments · Fixed by #230

Comments

@chuma2150
Copy link

When installing packages with latest angular v13, a warning is popping up:
Processing legacy "View Engine" libraries:

@ciukstar
Copy link

ciukstar commented Feb 3, 2022

I am also getting the following warning among others while compiling:

$ ng build -c demo
⠙ Generating browser application bundles (phase: setup)...Processing legacy "View Engine" libraries:
...
- angular-plotly.js [es2015/esm2015] ()
...
Encourage the library authors to publish an Ivy distribution.
✔ Browser application bundle generation complete.
✔ Copying assets complete.
✔ Index html generation complete.

Env:

$ ng version

     _                      _                 ____ _     ___
    / \   _ __   __ _ _   _| | __ _ _ __     / ___| |   |_ _|
   / △ \ | '_ \ / _` | | | | |/ _` | '__|   | |   | |    | |
  / ___ \| | | | (_| | |_| | | (_| | |      | |___| |___ | |
 /_/   \_\_| |_|\__, |\__,_|_|\__,_|_|       \____|_____|___|
                |___/
    

Angular CLI: 13.2.2
Node: 14.17.0
Package Manager: npm 7.20.5
OS: linux x64

Angular: 13.2.1
... animations, cdk, common, compiler, compiler-cli, core, forms
... language-service, material, platform-browser
... platform-browser-dynamic, router

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1302.2
@angular-devkit/build-angular   13.2.2
@angular-devkit/core            13.2.2
@angular-devkit/schematics      13.2.2
@angular/cli                    13.2.2
@angular/flex-layout            13.0.0-beta.36
@schematics/angular             13.2.2
rxjs                            6.6.7
typescript                      4.4.4
$ npm list angular-plotly.js
...
└── [email protected]

Thanks

@alpayoguz
Copy link

Any progress so far ? Same here.

@Zaffer
Copy link

Zaffer commented Dec 16, 2022

Getting this error:

export declare class PlotlyViaCDNModule {
                           ~~~~~~~~~~~~~~~~~~
    This likely means that the library (angular-plotly.js) which declares PlotlyViaCDNModule has not been processed correctly by ngcc, or is not compatible with Angular Ivy. Check if a newer version of the library is available, and update if so. Also consider checking with the library's authors to see if the library is expected to be compatible with Ivy.

@Abildtoft
Copy link

Abildtoft commented Mar 10, 2023

This is getting urgent as Angular will remove the Angular Compatibility Compiler (ngcc) in version 16:

angular/angular#49101

Anything I can do to help the process along?

@rk-7
Copy link
Contributor

rk-7 commented Mar 29, 2023

@chuma2150 @ciukstar @Abildtoft @alpayoguz @Zaffer I have opened a PR to fix this issue. Please feel free to review if anyone of you are a contributor.

I hope the contributors review and merge it soon.

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

Successfully merging a pull request may close this issue.

6 participants