Skip to content

环境配置都通过了 ,编译项目一直报 pub --trace '--verbosity=warning' get --no-precompile #2537

Not planned
@androidhero

Description

@androidhero

E:\FluterWorker\flutter_app>flutter packages get
pub.flutter-io.cn%20 is not a valid link-local address but contains %. Scope id should be used as part of link-local address. (at
character 18)
pub.flutter-io.cn%20
^
package:pub/src/source/hosted.dart 437:7 BoundHostedSource._throwFriendlyError
package:pub/src/source/hosted.dart 188:7 BoundHostedSource._fetchVersions
===== asynchronous gap ===========================
dart:async _CustomZone.runUnary
package:pub/src/rate_limited_scheduler.dart 82:30 RateLimitedScheduler._processNextTask.runJob
package:pub/src/rate_limited_scheduler.dart 85:30 RateLimitedScheduler._processNextTask
dart:async new Future.sync
package:pool/pool.dart 126:18 Pool.withResource.
This is an unexpected error. Please run

pub --trace '--verbosity=warning' get --no-precompile

and include the logs in an issue on https://github.com/dart-lang/pub/issues/new
Running "flutter pub get" in flutter_app...
pub get failed (65; and include the logs in an issue on https://github.com/dart-lang/pub/issues/new)

E:\FluterWorker\flutter_app>flutter packages get
pub.flutter-io.cn%20 is not a valid link-local address but contains %. Scope id should be used as part of link-local address. (at
character 18)
pub.flutter-io.cn%20
^
package:pub/src/source/hosted.dart 437:7 BoundHostedSource._throwFriendlyError
package:pub/src/source/hosted.dart 188:7 BoundHostedSource._fetchVersions
===== asynchronous gap ===========================
dart:async _CustomZone.runUnary
package:pub/src/rate_limited_scheduler.dart 82:30 RateLimitedScheduler._processNextTask.runJob
package:pub/src/rate_limited_scheduler.dart 85:30 RateLimitedScheduler._processNextTask
dart:async new Future.sync
package:pool/pool.dart 126:18 Pool.withResource.
This is an unexpected error. Please run

pub --trace '--verbosity=warning' get --no-precompile

Activity

sigurdm

sigurdm commented on Jun 22, 2020

@sigurdm
Contributor

pub.flutter-io.cn%20 should not contain %20.
Somehow you got an extra space in your PUB_HOSTED_URL.

sigurdm

sigurdm commented on Feb 10, 2023

@sigurdm
Contributor

Closing as stale. Please reopen if this issue is still a problem, and the solution didn't help.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @sigurdm@androidhero

        Issue actions

          环境配置都通过了 ,编译项目一直报 pub --trace '--verbosity=warning' get --no-precompile · Issue #2537 · dart-lang/pub