-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
A package may not list itself as a dependency. (flutter_bloc: ^0.9.0) #181
Comments
Hi @rrifafauzikomara 👋 I'm guessing the name of your flutter project is also name: flutter_bloc
dependencies:
flutter_bloc: ^0.9.0 Can you check if that's the case and if not could you please include the full Thanks! |
Hi @felangel Yes, you are right. That happens because the project name is the same as the library name. So when running the "flutter packages get" command, flutter reads the project name instead of the library name. Thank you |
thanks |
thanks a lot |
Thank you |
Thank you 😅 |
@felangel felangel you are absolutely right thank you so much |
Don't use same package name and dependency name. Ex; liquid_swipe: ^1.5.0 package name: liquid_swipe |
Thank you, but can we have a solution in which we don't have to change the app name |
Thanks,this is because my project name and package name is same so this error happens after that changing my project name it working fine |
Nice catch! Thanks |
thanks a lot..u saved the night..!! |
thank you so muchhh bruhjhhhhhhhhhhhhhhhhhh really help! |
Thanks |
Thanks a lot. I had the same problem. |
|
Thank u @felangel |
Thank you! |
|
That was awesome |
thanks |
thanks goood man |
thanks for this buddy |
Thanks a lot guys this really helped. |
When i try to get the package i get this
`[flutter_bloc] flutter packages get
Running "flutter packages get" in flutter_bloc...
Error on line 20, column 3 of pubspec.yaml: A package may not list itself as a dependency.
flutter_bloc: ^0.9.0
^^^^^^^^^^^^
pub get failed (65)
exit code 65`
The text was updated successfully, but these errors were encountered: