Giter VIP home page Giter VIP logo

Comments (6)

dfa1234 avatar dfa1234 commented on July 17, 2024 1

Anyway every version before 13.1.8 should not be used. There is an important fixes because browser like chrome made important changes.
I thinks we need to change the way we ask for version. Any version of angular > 4 should be ok, the library is meanly static javascript anyway.
I'm re opening this and will update soon

from ngx-image-compress.

broomfn avatar broomfn commented on July 17, 2024

For anyone else with this issue I had to provide these overrides to the package,json

"overrides": {
    "ngx-image-compress": {
      "@angular/common": "12.2.16",
      "@angular/core": "12.2.16"
    }
}

from ngx-image-compress.

dfa1234 avatar dfa1234 commented on July 17, 2024

I see that you are trying to install [email protected] which is outdated.

Please try with the last version (13.1.10 actually)

For simplicity we try to keep the library version number similar to angular one.

So 11 is compatible with 11
12 with 12
13 with 13

Etc etc.... But still, please use only the last version if you are not sure.

from ngx-image-compress.

broomfn avatar broomfn commented on July 17, 2024

Hi @dfa1234 , the problem with version 13.1.10 is that it's targeting version 13 of Angular, I'm unable to upgrade to version 13 as this would require me to also upgrade Ionic to version 6. Basically you don't appear to have a version of your library that's targeting version 12 of Angular, please correct me if I'm wrong.

from ngx-image-compress.

broomfn avatar broomfn commented on July 17, 2024

12 with 12

Where is version 12 of this library please? I can't see it on npm.

from ngx-image-compress.

dfa1234 avatar dfa1234 commented on July 17, 2024

I hope version 13.1.12 now working with angular 12, out of the box, without other shenanigan in package.json

Because angular 13 dropped totally view engine support and compile in Ivy (partial mode) only, we are now officialy dropping support for any version of angular < 9.
8 could work potentially too but some configuration is needed to optin ivy support.

Here the recap:

image

from ngx-image-compress.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.