Uploading...
https://pub.flutter-io.cn package repository requested authentication!
You can provide credentials using:
pub token add https://pub.flutter-io.cn
Authentication is required, please add `authorization` header.
Authentication failed!
pub finished with exit code 65
echo $PUB_HOSTED_URL
修改~/.zshrc
# export FLUTTER_STORAGE_BASE_URL=https://storage.flutter-io.cn
# export PUB_HOSTED_URL=https://pub.flutter-io.cn
保存后。重新打开终端。
image.png image.pnghttps://pub.dev/packages/provider12
如果要添加发布人
网友评论