You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by GitBox <gi...@apache.org> on 2019/04/01 09:01:47 UTC
[GitHub] [servicecomb-service-center] ChinX commented on issue #543: 编译失败
ChinX commented on issue #543: 编译失败
URL: https://github.com/apache/servicecomb-service-center/issues/543#issuecomment-478496100
@lexkong 不知道是否开启了 GO111MODULE 的标识
由于SC使用了go mod 机制管理依赖包,不同的版本之间依赖包可能变动
建议尝试一下使用go mod命令编译:
GO111MODULE=on go build -o service-center -v .
如果希望使用vendor目录进行编译可以执行
GO111MODULE=on go mod tidy
GO111MODULE=on go mod vendor
go build -o service-center -v .
我刚尝试了以上两种方式,最新版本在我的机器上都是可以正常编译的
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services