Skip to content

flutter pub publish is very slow / failing #32307

Closed

Description

@lukepighetti

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.

Screen Shot 2019-05-08 at 7 15 32 AM

Activity

  1. lukepighetti commented on May 8, 2019

    @lukepighetti
    ContributorAuthor

    Interestingly enough, pub publish works perfectly.

  2. shunkakinoki commented on Jun 3, 2019

    @shunkakinoki

    Having the same problem here too.

  3. d-wolf commented on Jun 4, 2019

    @d-wolf

    Same here. I have tried it several times and even after half an hour nothing happened.

    ESYS-iMac:esys-flutter-share danielwolf$ flutter doctor -v
    [✓] Flutter (Channel stable, v1.5.4-hotfix.2, on Mac OS X 10.14.5 18F132, locale en-DE)
        • Flutter version 1.5.4-hotfix.2 at /Users/danielwolf/Documents/GitHub/flutter
        • Framework revision 7a4c33425d (5 weeks ago), 2019-04-29 11:05:24 -0700
        • Engine revision 52c7a1e849
        • Dart version 2.3.0 (build 2.3.0-dev.0.5 a1668566e5)
    
    [✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
        • Android SDK at /Users/danielwolf/Library/Android/sdk
        • Android NDK location not configured (optional; useful for native profiling support)
        • Platform android-28, build-tools 28.0.3
        • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
        • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)
        • All Android licenses accepted.
    
    [✓] iOS toolchain - develop for iOS devices (Xcode 10.2)
        • Xcode at /Applications/Xcode.app/Contents/Developer
        • Xcode 10.2, Build version 10E125
        • ios-deploy 1.9.4
        • CocoaPods version 1.5.3
    
    [✓] Android Studio (version 3.4)
        • Android Studio at /Applications/Android Studio.app/Contents
        • Flutter plugin version 36.0.1
        • Dart plugin version 183.6270
        • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)
    
    [✓] VS Code (version 1.34.0)
        • VS Code at /Applications/Visual Studio Code.app/Contents
        • Flutter extension version 3.1.0
    
    [✓] Connected device (1 available)
        • Iphone6 (esys gmbh) • 642e346635eafe54baf1a8f531fee5e797a93c1a • ios • iOS 12.3.1
    
    • No issues found!
    
  4. d-wolf commented on Jun 4, 2019

    @d-wolf

    Try flutter pub pub publish instead of flutter pub publish.
    Check out this comment.

  5. shunkakinoki commented on Jun 5, 2019

    @shunkakinoki

    pub publish works, as @lukepighetti has suggested
    flutter pub pub publish also did not work for me

  6. michael-cheung-thebus commented on Jun 21, 2019

    @michael-cheung-thebus

    flutter pub pub publish works for me

    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!
    
  7. lajz commented on Jul 22, 2019

    @lajz

    I gave up after 4 hours and it was still stuck after giving suggestions.

  8. albo1337 commented on Sep 6, 2019

    @albo1337

    Try flutter pub pub publish instead of flutter pub publish.
    Check out this comment.

    you deserve the crown sir

  9. changed the title [-]flutter packages publish is very slow[/-] [+]flutter pub publish is very slow[/+] on Sep 7, 2019
  10. changed the title [-]flutter pub publish is very slow[/-] [+]flutter pub publish is very slow / failing[/+] on Sep 7, 2019
  11. added
    toolAffects the "flutter" command-line tool. See also t: labels.
    on Oct 14, 2019
  12. amreniouinnovent commented on Nov 21, 2019

    @amreniouinnovent

    Yes flutter pub pub publish works but why pub pub!!!!

  13. Bowman74 commented on Nov 22, 2019

    @Bowman74

    I encountered the same issue. Using flutter pub pub publish worked for me as well.

  14. jmagman commented on Mar 13, 2020

    @jmagman
    Member

    #38490 was merged in 1.9.2. Please try on a newer version of Flutter.

  15. lock commented on Apr 4, 2020

    @lock

    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.

  16. locked and limited conversation to collaborators on Apr 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    toolAffects the "flutter" command-line tool. See also t: labels.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions