truss icon indicating copy to clipboard operation
truss copied to clipboard

installation error

Open zhengcongyin opened this issue 5 years ago • 3 comments

I tried to run "go get -u -d github.com/metaverse/truss", but got "no Go files" error. Am I do something wrong? Thanks,

zhengcongyin avatar Sep 13 '19 15:09 zhengcongyin

You'll want to cd into the truss repo once it's cloned (with that command is fine), and use

GO111MODULE=on make dependencies
GO111MODULE=on make

zaquestion avatar Sep 13 '19 17:09 zaquestion

Thanks for your prompt reply. I already fixed this problem, and when I run "make test", it keeps saying that github.com/metaverse/truss/deftree/googlethirdparty/annotations.proto: File not found.

Could you please give me some hints about this?

Many thanks,

zhengcongyin avatar Sep 13 '19 18:09 zhengcongyin

That would either be GOPATH not set, or truss not cloned to that location, unfortunately even tho truss manages dependencies it still needs to be available in the gopath for the protofile imports, we're working on making it that component work on it's own.

zaquestion avatar Sep 14 '19 17:09 zaquestion