Closed zozoh closed 5 years ago
There are a few community-run mirror/proxy sites that you can use to access pub. To use that you should set the PUB_HOSTED_URL
environment variable to point to a new domain. In Unix and OSX you can use the following (sorry, not sure how to set it in your windows env):
export PUB_HOSTED_URL=https://pub.flutter-io.cn
The https://flutter.io/community/china site mentions another one: https://dart-pub.mirrors.sjtug.sjtu.edu.cn/
@isoos as I setup the env PUB_HOSTED_URL=https://pub.flutter-io.cn
and run the pub get
again, it worked. Thanks :)
Hi, I am newcomer of Dart. I wanna build my sass file by Dart-sass. Following the guide, I meet the issue:
It panic me, how should I do? how should I do?
What I actually done
1. make a folder, and create a
pubspec.yaml
2. run the command
pub get
About My ENV
I d try to connected the net directly, or by proxies. In China as you known, we had to switch proxy to access the service like google/twitter etc. But the result was same:
How should I do
I want to get some suggestion about how should I do next? Did there are any way to provide more useful information to you guys? Did it is a bug of
pub.dartlang.org
? or maybe just I do something wrongly?Thanks anywhy :)