授权失败错误

问题描述 投票:0回答:1

我下载了一个flutter项目并想运行它。当在命令行中运行 flutter pub get 时,出现此错误

Because eschool depends on win32 any which doesn't exist (authorization failed), version solving failed.
Insufficient permissions to the resource at the https://pub.dev package repository.
You can modify credentials using:
    dart pub token add https://pub.dev

运行“dart pub token add https://pub.dev”后:

Enter secret token:
Requests to "https://pub.dev" will now be authenticated using the secret token.

什么是秘密令牌以及https://pub.dev

运行“dart pub token add https://pub.dev”不能解决我的问题。

your text

flutter dart
1个回答
0
投票

那些是私人酒吧注册表。您需要一个秘密令牌来对项目进行身份验证和访问包。您应该向项目维护者索要秘密令牌。

© www.soinside.com 2019 - 2024. All rights reserved.