RivaanRanawat / instagram-flutter-clone

Responsive Instagram Clone developed with Flutter & Firebase
https://youtu.be/BBccK1zTgxw
845 stars 468 forks source link

Error Project #27

Open vishy0001 opened 11 months ago

vishy0001 commented 11 months ago

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 commented 9 months ago

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.