Skip to content

运行报错 #8

@m4ra7h0n

Description

@m4ra7h0n

报错如下
go: github.com/cpuguy83/go-md2man/v2@v2.0.0: Get "https://proxy.golang.org/github.com/cpuguy83/go-md2man/v2/@v/v2.0.0.mod": dial tcp 172.217.163.49:443: i/o timeout

感谢P牛的工具, 问题已解决, 给后来的小伙伴借鉴
运行之前需要添加一个代理, 代理的官网: https://goproxy.io/
添加方式如下:

Bash (Linux or macOS)

Set the GOPROXY environment variable
export GOPROXY=https://goproxy.io,direct
Set environment variable allow bypassing the proxy for specified repos (optional)
export GOPRIVATE=git.mycompany.com,github.com/my/private

PowerShell (Windows)

Set the GOPROXY environment variable
$env:GOPROXY = "https://goproxy.io,direct"
Set environment variable allow bypassing the proxy for specified repos (optional)
$env:GOPRIVATE = "git.mycompany.com,github.com/my/private"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions