nps 最新的master代码编译出错

qaxu7uf2  于 2022-10-24  发布在  其他
关注(0)|答案(1)|浏览(460)

[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]#

nx7onnlm

nx7onnlm1#

参考这个 pr 的修改: https://github.com/ehang-io/nps/pull/923/files
修改这一行就可以: export GOPROXY := https://goproxy.io

相关问题