[root@VM-0-16-centos nps-master]# ls
bridge build.assets.sh client conf Dockerfile.nps go.mod gui lib Makefile README_zh.md web
build.android.sh build.sh cmd Dockerfile.npc docs go.sum image LICENSE README.md server
[root@VM-0-16-centos nps-master]# make
go build cmd/nps/nps.go
go: ehang.io/nps-mux@v0.0.0-20210407130203-4afa0c10c992: reading https://gocenter.io/ehang.io/nps-mux/@v/v0.0.0-20210407130203-4afa0c10c992.mod : 405 Not Allowed
make:***[Makefile:11: build] Error 1
[root@VM-0-16-centos nps-master]#
1条答案
按热度按时间nx7onnlm1#
参考这个 pr 的修改: https://github.com/ehang-io/nps/pull/923/files
修改这一行就可以:
export GOPROXY := https://goproxy.io