Error reporting on Windows#

A required privilege is not held by the client.

Solution: "Run as administrator" goctl will work.

grpc error#

protoc-gen-go: unable to determine Go import path for "greet.proto"
Please specify either:
• a "go_package" option in the .proto source file, or
• a "M" argument on the command line.
See for more information.
--go_out: protoc-gen-go: Plugin failed with status code 1.


$ go get -u

protoc-gen-go installation failed#

$ go get module Get "": dial tcp i/o timeout

Please make sure GOPROXY has been set, see Go Module Configuration for GOPROXY setting

api service failed to start#

error: config file etc/user-api.yaml, error: type mismatch for field xx

Please confirm whether the configuration items in the user-api.yaml configuration file have been configured. If there are values, check whether the yaml configuration file conforms to the yaml format.

command not found: goctl#

command not found: goctl

Please make sure that goctl has been installed or whether goctl has been added to the environment variable

Last updated on