Comments (6)
Hi @AhkamKhalaaf, Thanks for filing an issue.
Could you please run the following:
flutter clean
flutter pub cache clean
flutter update-packages --force-upgrade
flutter pub get
from flutter.
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.
@opxdelwin Please don't advise people to destroy all of their caches for resolution errors; it's extremely unlikely to change anything.
from flutter.
@stuartmorgan I'm extremely sorry, that was negligence right there, it was supposed to be flutter pub cache repair
.
Sincere apologies.
from flutter.
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.
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)
- [CP] Platform View + Android 14 + multi activity fix
- CP macOS 14 fixes for beta and stable
- CP ci.yaml and configs to run on either macOS 13 or 14 for beta and stable
- Upgrade remaining devicelab bots in each pool to macOS 14.5
- Upgrade 25% of chromium bots to macOS 14.5 HOT 1
- [Flutter] Make the framework aware of which view has focus and publish changes through the platform dispatcher. HOT 2
- Upgrade 50% of chromium bots to macOS 14.5 HOT 1
- Upgrade remaining chromium bots in each pool to macOS 14.5
- Upgrade 50% of bots in dart-internal to macOS 14.5
- Scaffold's Current state `isDrawerOpen` parameter returns false in PopScope in flutter 3.22.0 but returns true in 3.19.0 HOT 1
- ☂️ Tracking issue for any infra or test failures with Xcode 16 and iOS 18 Simulators
- Run all flutter/flutter macOS tests using Xcode 16 and iOS 18 simulator
- Run all flutter/packages macOS tests using Xcode 16 and iOS 18 simulator
- Run all flutter/engine macOS tests using Xcode 16 and iOS 18 simulator
- Update .ci.yaml in flutter/flutter to use Xcode 16 and macOS 14
- [webview_flutter_web] Migration to package:web needed for wasm HOT 1
- MouseRegion behavior is inconsistent when upgrading from 3.16.9 to 3.22.1 HOT 5
- ModalRoute Rebuilds Transition Widgets Every Frame HOT 2
- linux-51 is dead. HOT 1
- [process] Adjust Release Process to Include Wiki Updates for Hotfixes
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flutter.