Code Monkey home page Code Monkey logo

Comments (8)

rr-hornback avatar rr-hornback commented on June 14, 2024 3

We are currently using the overrides in our package.json file as a temporary workaround. Would be nice to have an officially supported version.

"overrides": { "angular-google-charts": { "@angular/common": "^16.0.3", "@angular/core": "^16.0.3" } }

from angular-google-charts.

faraz-ahmad-uft avatar faraz-ahmad-uft commented on June 14, 2024 1

@rr-hornback - I added overrides in my package.json file but I am still getting the same error.

from angular-google-charts.

kussmaul avatar kussmaul commented on June 14, 2024 1

You might get more specific suggestions if you provide more detail than "the same error" - exactly what error do you get? What is your package.json? What else have you tried? (see the bug report template for more)

from angular-google-charts.

mohamed-badaoui avatar mohamed-badaoui commented on June 14, 2024 1

@rr-hornback - I added overrides in my package.json file but I am still getting the same error.

Same error even with the override in package.json

Package "angular-google-charts" has an incompatible peer dependency to "@angular/common" (requires ">=6.0.0 <=14.x.x" (extended), would install "16.0.4").
                  Package "angular-google-charts" has an incompatible peer dependency to "@angular/core" (requires ">=6.0.0 <=14.x.x" (extended), would install "16.0.4").
✖ Migration failed: Incompatible peer dependencies found.
Peer dependency warnings when installing dependencies means that those dependencies might not work correctly together.
You can use the '--force' option to ignore incompatible peer dependencies and instead address these warnings later.
  See "/tmp/ng-JYz5dg/angular-errors.log" for further details.

The only way to make it work is to use the --force option in the ng update command.

from angular-google-charts.

faraz-ahmad-uft avatar faraz-ahmad-uft commented on June 14, 2024

@rr-hornback - I am also facing the same issue.
I am trying to upgrade my project to Angular v16 but due to incompatible version issues of this package, I am not able to do this.

from angular-google-charts.

kussmaul avatar kussmaul commented on June 14, 2024

Have you tried adapting the workaround described for Angular 15?
#292 (comment)

from angular-google-charts.

faraz-ahmad-uft avatar faraz-ahmad-uft commented on June 14, 2024

@kussmaul - Yes I tried that as well but unfortunately did not work for me.

from angular-google-charts.

TamerHussien avatar TamerHussien commented on June 14, 2024

We are currently using the overrides in our package.json file as a temporary workaround. Would be nice to have an officially supported version.

"overrides": { "angular-google-charts": { "@angular/common": "^16.0.3", "@angular/core": "^16.0.3" } }

That works for me, just add @angular/common and @angular/core versions as same as in your package.json.

from angular-google-charts.

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.