Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

protoc-gen-gocosmos: program not found or is not executable #1584

Closed
xiyu1984 opened this issue Sep 16, 2021 · 1 comment
Closed

protoc-gen-gocosmos: program not found or is not executable #1584

xiyu1984 opened this issue Sep 16, 2021 · 1 comment
Labels

Comments

@xiyu1984
Copy link

Describe the bug
protoc-gen-gocosmos: program not found or is not executable

Please provide output of commands
the version of my starport is v0.17.3
go version: go1.17.1
uname -a: Linux DESKTOP-G3QU0HC 5.4.72-microsoft-standard-WSL2 #1 SMP Wed Oct 28 23:40:43 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

To Reproduce
when I use "starport scaffold chain github.com/user/planet"

the error happened below:

error while running command /tmp/protoc4192393244: planet/query.proto:4:1: warning: Import google/api/annotations.proto is unused.
planet/query.proto:5:1: warning: Import cosmos/base/query/v1beta1/pagination.proto is unused.
protoc-gen-gocosmos: program not found or is not executable
Please specify a program using absolute path or make sure the program is available in your PATH system variable
--gocosmos_out: protoc-gen-gocosmos: Plugin failed with status code 1.
: exit status 1

@xiyu1984
Copy link
Author

I solved this problem by changing ubuntu 18.04 to ubuntu 20.04

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant