macos 升级 10.15.4 版本后, goland 编译跑不起来了

2020-04-13 15:01:12 +08:00
 demo1
提示语如下:
go: github.com/avct/uasurfer@v0.0.0-20191028135549-26b5daa857f1: Get https://proxy.golang.org/github.com/avct/uasurfer/@v/v0.0.0-20191028135549-26b5daa857f1.mod: read tcp 172.18.27.74:56015->172.217.160.113:443: read: operation timed out

Compilation finished with exit code 1
2083 次点击
所在节点    macOS
7 条回复
hactrox
2020-04-13 15:05:29 +08:00
这个跟 macOS 版本升级没关系,是 go 在下载依赖包的时候超时了,可以用国内代理来解决你的这个问题: https://goproxy.cn
justin2018
2020-04-13 15:15:15 +08:00
开代理软件

或者 参考 1 楼~
littleylv
2020-04-13 15:16:18 +08:00
1 、goland => golang
2 、“operation timed out”这么大个字。。。。。。。。
demo1
2020-04-13 15:19:38 +08:00
@littleylv 你仿佛是个傻子,goland 是 IDE
demo1
2020-04-13 15:20:38 +08:00
@hactrox 好的,非常感谢
littleylv
2020-04-13 15:22:04 +08:00
@demo1 #4 对不起
littlewing
2020-04-13 16:23:20 +08:00
推荐用 1.11 以后版本的 go,并且使用 go mod + goproxy.cn

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/661977

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX