Is there a workaround for pub dependency resolution through proxies?

孤者浪人 提交于 2019-12-05 18:51:24

You said that you're using a Mac. If it's a laptop, why don't you try doing it from home? I'll notify the author of pub about this issue to see if he has any suggestions.

Currently there is no way to set a proxy in the Dart Editor, you can star this issue to check when it will be available.

I found a workaround to run the Pub install/update behind a proxy: in Windows, you can acess the "Environment variables" and add a variable named HTTP_PROXY with the value

https://USER:PASSWORD@my.proxy.adress:PORT
标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!