You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
➜ grapi init anything-else-app
➜ Initialize project
✔ cmd/server/main.go
✔ cmd/server/run.go
✔ grapi.toml
✔ tools.go
▸ Install dependencies
go: creating new go.mod: module anything-else-app
go: to add module requirements and sums:
go mod tidy
go get: added github.com/izumin5210/grapi v0.5.0
go get: added github.com/srvc/appctx v0.1.0
go get: added google.golang.org/grpc v1.36.1
../../../pkg/mod/github.com/grpc-ecosystem/[email protected]/protoc-gen-grpc-gateway/descriptor/grpc_api_configuration.go:9:2: missing go.sum entry for module providing package github.com/ghodss/yaml (imported by github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway/descriptor); to add:
go get github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway/[email protected]
../../../pkg/mod/github.com/grpc-ecosystem/[email protected]/protoc-gen-grpc-gateway/main.go:17:2: missing go.sum entry for module providing package github.com/golang/glog (imported by github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway); to add:
go get github.com/grpc-ecosystem/grpc-gateway/[email protected]
failed to install dependencies: failed to build github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway: exit status 1
I have also tested at least a dozen other initialization names, all failed.
I expected grapi init anything-else-app to behave as grapi init awesome-app does, but create a different directory.
go version go1.16.2 darwin/amd64
dep version : v0.5.4
OSX: 11.2.3
Grapi installed via brew: grapi v0.5.0 (go1.13.1 darwin/amd64)
The text was updated successfully, but these errors were encountered:
go get github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway/[email protected]
go get github.com/grpc-ecosystem/grpc-gateway/[email protected]
I had experienced same issue but after running go get ...init works fine.
When I run:
grapi init awesome-app
Grapi initializes properly:
When I run:
grapi init anything-else-app
I get the following results:
I have also tested at least a dozen other initialization names, all failed.
I expected
grapi init anything-else-app
to behave asgrapi init awesome-app
does, but create a different directory.go version go1.16.2 darwin/amd64
dep version : v0.5.4
OSX: 11.2.3
Grapi installed via brew: grapi v0.5.0 (go1.13.1 darwin/amd64)
The text was updated successfully, but these errors were encountered: