-
Notifications
You must be signed in to change notification settings - Fork 558
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
Error while running protoc command #1163
Comments
Hey there! This should be no longer issue after latest improvements on Can you please git clone https://github.com/tendermint/starport and run Please remove any of your previous Starport installations beforehand. |
Ok.. Thank you. |
Hey, is your problem solved after running on develop? |
This issue should be resolved in Starport v0.16. Please, reopen if it's still a problem. |
Yes it got solved. Though I later used v0.15.1 |
This fixes ignite#1163, but is not ideal... tooling binaries should be installed by running `go install [path]@[version]`, but protoc-gen-gocosmos uses a replace directive in the `go.mod` which is [incompatible with this method](golang/go#44840 (comment)). This fixes the problem for now, but adds plugin specific items to the go.mod of the scaffolded project, which shouldn't be there.
* Run go install after go get to install plugins This fixes #1163, but is not ideal... tooling binaries should be installed by running `go install [path]@[version]`, but protoc-gen-gocosmos uses a replace directive in the `go.mod` which is [incompatible with this method](golang/go#44840 (comment)). This fixes the problem for now, but adds plugin specific items to the go.mod of the scaffolded project, which shouldn't be there. * Update starport/pkg/cosmosgen/install.go Co-authored-by: İlker G. Öztürk <[email protected]>
* Run go install after go get to install plugins This fixes #1163, but is not ideal... tooling binaries should be installed by running `go install [path]@[version]`, but protoc-gen-gocosmos uses a replace directive in the `go.mod` which is [incompatible with this method](golang/go#44840 (comment)). This fixes the problem for now, but adds plugin specific items to the go.mod of the scaffolded project, which shouldn't be there. * Update starport/pkg/cosmosgen/install.go Co-authored-by: İlker G. Öztürk <[email protected]>
* Run go install after go get to install plugins This fixes ignite/cli#1163, but is not ideal... tooling binaries should be installed by running `go install [path]@[version]`, but protoc-gen-gocosmos uses a replace directive in the `go.mod` which is [incompatible with this method](golang/go#44840 (comment)). This fixes the problem for now, but adds plugin specific items to the go.mod of the scaffolded project, which shouldn't be there. * Update starport/pkg/cosmosgen/install.go Co-authored-by: İlker G. Öztürk <[email protected]> Former-commit-id: 565c2f3f5316d8a70cdbf0706f385644a35ed8a4
* Run go install after go get to install plugins This fixes ignite/cli#1163, but is not ideal... tooling binaries should be installed by running `go install [path]@[version]`, but protoc-gen-gocosmos uses a replace directive in the `go.mod` which is [incompatible with this method](golang/go#44840 (comment)). This fixes the problem for now, but adds plugin specific items to the go.mod of the scaffolded project, which shouldn't be there. * Update starport/pkg/cosmosgen/install.go Co-authored-by: İlker G. Öztürk <[email protected]> Former-commit-id: 797ec0b9c86756ee93db44120c3b7c14a2fb6e1c
* Run go install after go get to install plugins This fixes ignite#1163, but is not ideal... tooling binaries should be installed by running `go install [path]@[version]`, but protoc-gen-gocosmos uses a replace directive in the `go.mod` which is [incompatible with this method](golang/go#44840 (comment)). This fixes the problem for now, but adds plugin specific items to the go.mod of the scaffolded project, which shouldn't be there. * Update starport/pkg/cosmosgen/install.go Co-authored-by: İlker G. Öztürk <[email protected]>
* Run go install after go get to install plugins This fixes ignite#1163, but is not ideal... tooling binaries should be installed by running `go install [path]@[version]`, but protoc-gen-gocosmos uses a replace directive in the `go.mod` which is [incompatible with this method](golang/go#44840 (comment)). This fixes the problem for now, but adds plugin specific items to the go.mod of the scaffolded project, which shouldn't be there. * Update starport/pkg/cosmosgen/install.go Co-authored-by: İlker G. Öztürk <[email protected]>
Go version: go version go1.16.4 linux/amd64
Node Version: v14.17.0
Protoc Version: libprotoc 3.15.8
Executing starport app github.com/user/planet generated the following error:
error while running command protoc: 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
Although the directory planet is generated but scaffolding a module generated the following error:
error while running command protoc: planet/post.proto:6:1: warning: Import gogoproto/gogo.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
Note: I installed the protoc following this instruction here:
What could have possibly gone wrong?
The text was updated successfully, but these errors were encountered: