V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
demo1
V2EX  ›  macOS

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

  •  
  •   demo1 · 2020-04-13 15:01:12 +08:00 · 2068 次点击
    这是一个创建于 1474 天前的主题,其中的信息可能已经有所发展或是发生改变。
    提示语如下:
    go: github.com/avct/[email protected]: 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
    7 条回复    2020-04-13 16:23:20 +08:00
    hactrox
        1
    hactrox  
       2020-04-13 15:05:29 +08:00
    这个跟 macOS 版本升级没关系,是 go 在下载依赖包的时候超时了,可以用国内代理来解决你的这个问题: https://goproxy.cn
    justin2018
        2
    justin2018  
       2020-04-13 15:15:15 +08:00
    开代理软件

    或者 参考 1 楼~
    littleylv
        3
    littleylv  
       2020-04-13 15:16:18 +08:00
    1 、goland => golang
    2 、“operation timed out”这么大个字。。。。。。。。
    demo1
        4
    demo1  
    OP
       2020-04-13 15:19:38 +08:00
    @littleylv 你仿佛是个傻子,goland 是 IDE
    demo1
        5
    demo1  
    OP
       2020-04-13 15:20:38 +08:00
    @hactrox 好的,非常感谢
    littleylv
        6
    littleylv  
       2020-04-13 15:22:04 +08:00
    @demo1 #4 对不起
    littlewing
        7
    littlewing  
       2020-04-13 16:23:20 +08:00
    推荐用 1.11 以后版本的 go,并且使用 go mod + goproxy.cn
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5411 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 07:09 · PVG 15:09 · LAX 00:09 · JFK 03:09
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.