Giter VIP home page Giter VIP logo

Comments (6)

opxdelwin avatar opxdelwin commented on June 17, 2024

Hi @AhkamKhalaaf, Thanks for filing an issue.

Could you please run the following:

  1. flutter clean
  2. flutter pub cache clean
  3. flutter update-packages --force-upgrade
  4. flutter pub get

from flutter.

stuartmorgan avatar stuartmorgan commented on June 17, 2024

As the error message says, you are using a third-party package (dart_code_metrics ) that is only compatible with file 6.0, but integration_test from Flutter 3.19 uses file 7.0. You will need to contact the authors of the package about updating for the current version of Flutter, or remove that package.

Closing as this is not a bug; not all versions of all packages can be compatible with each other.

from flutter.

stuartmorgan avatar stuartmorgan commented on June 17, 2024

@opxdelwin Please don't advise people to destroy all of their caches for resolution errors; it's extremely unlikely to change anything.

from flutter.

opxdelwin avatar opxdelwin commented on June 17, 2024

@stuartmorgan I'm extremely sorry, that was negligence right there, it was supposed to be flutter pub cache repair.

Sincere apologies.

from flutter.

stuartmorgan avatar stuartmorgan commented on June 17, 2024

Unless there is reason to believe that a problem is caused by someone's cache having been altered, there's no reason to have them run a cache repair. Someone altering the version constraints in of a package in their cache is extremely unlikely.

from flutter.

github-actions avatar github-actions commented on June 17, 2024

This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

from flutter.

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.