instagram-flutter-clone icon indicating copy to clipboard operation
instagram-flutter-clone copied to clipboard

Error Project

Open vishy0001 opened this issue 1 year ago • 1 comments

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

vishy0001 avatar Aug 07 '23 12:08 vishy0001

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.

gauss2302 avatar Oct 28 '23 10:10 gauss2302