Generate scaffold-service faild fail when there are no dependent libraries
0x-shanks opened this issue · 1 comments
0x-shanks commented
Describe the bug
When executing roche g scaffold-service NAME
command, an error is displayed under the following conditions
- missing
github.com/izumin5210/grapi/cmd/grapi-gen-scaffold-service
- missing
github.com/golang/protobuf
- missing
github.com/grpc-ecosystem/grpc-gateway
- missing
github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway/descriptor@v1.8.5
To Reproduce
Steps to reproduce the behavior:
execute roche g scaffold-service NAME
Expected behavior
After initialization, the dependent libraries are listed in go.mod and are ready for go mod download
.
riita10069 commented
You need to install protobuf in your environment.
Please Look at here.
https://github.com/protocolbuffers/protobuf
As for the other module, roche init
enable to that the expected behavior you mentioned.