[!TIP] This document is machine-translated by Google. If you find grammatical and semantic errors, and the document description is not clear, please PR

Error reporting on Windows

A required privilege is not held by the client.
Solution: "Run as administrator" goctl will work.

## grpc error
* Case 1
  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

Copyright © 2019-2021 go-zero all right reserved,powered by GitbookLast UpdateTime: 2021-12-05 09:48:50

results matching ""

    No results matching ""