Skip to content
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

Why does my cloud_firestore always report an error that 19 dependencies need to be updated? #16931

Open
zoro180180 opened this issue Jan 2, 2025 · 4 comments
Labels
Needs Attention This issue needs maintainer attention. platform: all Issues / PRs which are for all platforms. type: question A question where further information is requested

Comments

@zoro180180
Copy link

"cloud_firestore" is already in "dependencies". Will try to update the constraint.
^[[B^[[AResolving dependencies...
Downloading packages...
async 2.11.0 (2.12.0 available)
boolean_selector 2.1.1 (2.1.2 available)
characters 1.3.0 (1.4.0 available)
clock 1.1.1 (1.1.2 available)
collection 1.19.0 (1.19.1 available)
fake_async 1.3.1 (1.3.2 available)
leak_tracker 10.0.7 (10.0.8 available)
leak_tracker_flutter_testing 3.0.8 (3.0.9 available)
matcher 0.12.16 1 (0.12.17 available)
material_color_utilities 0.11.1 (0.12.0 available)
meta 1.15.0 (1.16.0 available)
path 1.9.0 (1.9.1 available)
source_span 1.10.0 (1.10.1 available)
stack_trace 1.12.0 (1.12.1 available)
stream_channel 2.1.2 (2.1.3 available)
string_scanner 1.3.0 (1.4.1 available)
term_glyph 1.2.1 (1.2.2 available)
test_api 0.7.3 (0.7.4 available)
vm_service 14.3.0 (15.0.0 available)
Got dependencies!
19 packages have newer versions incompatible with dependency constraints.
Try flutter pub outdated for more information.

@russellwheatley
Copy link
Member

@zoro180180 - Have you followed the advice in the console output?

Try flutter pub outdated for more information.

Another way to update dependencies is to run:

flutter pub upgrade

@russellwheatley russellwheatley added type: question A question where further information is requested blocked: customer-response Waiting for customer response, e.g. more information was requested. platform: all Issues / PRs which are for all platforms. labels Jan 2, 2025
@google-oss-bot google-oss-bot added Needs Attention This issue needs maintainer attention. and removed blocked: customer-response Waiting for customer response, e.g. more information was requested. labels Jan 3, 2025
@zoro180180
Copy link
Author

No, I ran it and still got the same error, and the main reason is that new versions of 19 packages exist, but due to dependency constraints, these new versions are incompatible with some currently installed packages

@russellwheatley
Copy link
Member

@zoro180180 - please paste your pubspec.yaml for me to check

@russellwheatley russellwheatley added blocked: customer-response Waiting for customer response, e.g. more information was requested. and removed Needs Attention This issue needs maintainer attention. labels Jan 3, 2025
@zoro180180
Copy link
Author

@zoro180180- 请粘贴你的 pubspec.yaml 供我检查

name: chat
description: "A new Flutter project."
publish_to: "none"

version: 1.0.0 1

environment:
sdk: ^3.6.0

dependencies:
flutter:
sdk: flutter
logging: ^1.3.0
cupertino_icons: ^1.0.8
firebase_core: ^3.9.0
firebase_auth: ^5.3.4
async: ^2.11.0
boolean_selector: ^2.1.1
clock: ^1.1.1
characters: ^1.3.0
collection: ^1.19.0
fake_async: ^1.3.1
leak_tracker: ^10.0.7
#leak_tracker_fluter_testing: ^3.0.9

metcher: ^0.12.17

material_color_utilities: ^0.11.1
meta: ^1.15.0
path: ^1.9.0
source_span: ^1.10.0
stream_channel: ^2.1.2
string_scanner: ^1.3.0
term_glyph: ^1.2.1
test_api: ^0.7.3
vm_service: ^14.3.0
cloud_firestore: ^5.6.0
cloud_firestore_platform_interface: ^6.6.0
cloud_firestore_web: ^4.4.0
http_parser: ^4.1.2

dev_dependencies:
flutter_test:
sdk: flutter
flutter_lints: ^5.0.0

flutter:
uses-material-design: true

@google-oss-bot google-oss-bot added Needs Attention This issue needs maintainer attention. and removed blocked: customer-response Waiting for customer response, e.g. more information was requested. labels Jan 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs Attention This issue needs maintainer attention. platform: all Issues / PRs which are for all platforms. type: question A question where further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants