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

Error Project #27

Open
vishy0001 opened this issue Aug 7, 2023 · 1 comment
Open

Error Project #27

vishy0001 opened this issue Aug 7, 2023 · 1 comment

Comments

@vishy0001
Copy link

Because xml 6.3.0 depends on meta ^1.9.0 and no versions of xml match >6.3.0 <7.0.0, xml ^6.3.0 requires meta ^1.9.0.
And because every version of flutter from sdk depends on meta 1.8.0, flutter from sdk is incompatible with xml ^6.3.0.
And because vector_graphics_compiler 1.1.7 depends on xml ^6.3.0 and no versions of vector_graphics_compiler match >1.1.7 <2.0.0, flutter from sdk is incompatible with vector_graphics_compiler ^1.1.7.
And because flutter_svg 2.0.7 depends on vector_graphics_compiler ^1.1.7 and no versions of flutter_svg match >2.0.7 <3.0.0, flutter from sdk is incompatible with flutter_svg ^2.0.7.
So, because instagram_clone_flutter depends on both flutter from sdk and flutter_svg ^2.0.7, version solving failed.
pub get failed
command: "C:\src\flutter\bin\cache\dart-sdk\bin\dart __deprecated_pub --directory . get --example"
pub env: {
"FLUTTER_ROOT": "C:\src\flutter",
"PUB_ENVIRONMENT": "flutter_cli:verify:run",
"PUB_CACHE": "C:\Users\mansi\AppData\Local\Pub\Cache",
}
exit code: 1

This error is coming when trying to run this

@gauss2302
Copy link

Hey @vishy0001 ! It might happen due to the outlined dependencies in your cloned project. Try to clean it up by running flutter clean, then flutter pub get in your terminal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants