mudclient / go-mud

Go 语言写的,支持 UTF-8 的中文 MUD 客户端
GNU General Public License v3.0
35 stars 11 forks source link

运行或编译报错找不到模块 #16

Closed defsky closed 5 years ago

defsky commented 5 years ago

在手机上termux中启用go module 后,运行go run main.go或者go build main.go都会报错: build command-line-arguments: cannot find module for path golang.org/x/sys/unix

dzpao commented 5 years ago

你需要先安装项目依赖的前置模块。 安装方法: go get ./...

defsky commented 5 years ago

你需要先安装项目依赖的前置模块。 安装方法: go get ./...

go get 安装都提示好了,实际上$GOPATH这个路径下是有这个模块的,编译还是不行

dzpao commented 5 years ago

@defsky 有空了再试一下。应该已经解决了。

源码安装方法:

go get -u github.com/dzpao/go-mud
dzpao commented 5 years ago

先关闭了。如果有问题,你可以重新打开。 @defsky