truss
truss copied to clipboard
github.com/metaverse/truss/deftree/googlethirdparty/annotations.proto: File not found.
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
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
cd $(go env GOPATH)
ln -s pkg/mod src
and than truss some.proto.