truss icon indicating copy to clipboard operation
truss copied to clipboard

github.com/metaverse/truss/deftree/googlethirdparty/annotations.proto: File not found.

Open vibhavankhade opened this issue 2 years ago • 2 comments

          github.com/metaverse/truss/deftree/googlethirdparty/annotations.proto: File not found.

getting error while running truss *.proto what is the issue?

Originally posted by @vibhavankhade in https://github.com/metaverse/truss/issues/332#issuecomment-1569500266

vibhavankhade avatar May 31 '23 05:05 vibhavankhade

https://github.com/metaverse/truss/issues/332#issuecomment-885375707

Guessing that you are using go modules and confused by the requirement for the annotations proto to exist at $GOPATH/metaverse/truss/deftree/googlethirdparty/annotations.proto, it's not ideal, but if you clone truss into that location it should locate it fine. PRs welcome

zaquestion avatar Jun 05 '23 23:06 zaquestion

cd $(go env GOPATH)
ln -s pkg/mod src

and than truss some.proto.

JianleiZhang avatar Dec 19 '23 02:12 JianleiZhang