You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to publish a previously published package (hydrated) to pub using flutter pub publish on my iMac and it's taking forever. Took 1 second to show the tree, 30 seconds to show a warning (rename "docs" to "doc", no thanks), and it has been four minutes and won't proceed. Tried this twice.
didn't have the patience to see what would happen with flutter pub publish, but I did wait significantly longer than a few minutes before giving up.
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, v1.5.4-hotfix.2, on Microsoft Windows [Version 10.0.18362.145], locale en-US)
[√] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
[√] Android Studio (version 3.3)
[√] Connected device (1 available)
• No issues found!
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.
Activity
lukepighetti commentedon May 8, 2019
Interestingly enough,
pub publishworks perfectly.shunkakinoki commentedon Jun 3, 2019
Having the same problem here too.
d-wolf commentedon Jun 4, 2019
Same here. I have tried it several times and even after half an hour nothing happened.
d-wolf commentedon Jun 4, 2019
Try
flutter pub pub publishinstead offlutter pub publish.Check out this comment.
shunkakinoki commentedon Jun 5, 2019
pub publishworks, as @lukepighetti has suggestedflutter pub pub publishalso did not work for memichael-cheung-thebus commentedon Jun 21, 2019
flutter pub pub publishworks for medidn't have the patience to see what would happen with
flutter pub publish, but I did wait significantly longer than a few minutes before giving up.lajz commentedon Jul 22, 2019
I gave up after 4 hours and it was still stuck after giving suggestions.
albo1337 commentedon Sep 6, 2019
you deserve the crown sir
[-]flutter packages publish is very slow[/-][+]flutter pub publish is very slow[/+][-]flutter pub publish is very slow[/-][+]flutter pub publish is very slow / failing[/+]amreniouinnovent commentedon Nov 21, 2019
Yes flutter pub pub publish works but why pub pub!!!!
Bowman74 commentedon Nov 22, 2019
I encountered the same issue. Using flutter pub pub publish worked for me as well.
jmagman commentedon Mar 13, 2020
#38490 was merged in 1.9.2. Please try on a newer version of Flutter.
lock commentedon Apr 4, 2020
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.