使用shell脚本文件将protobuf文件生成go和ts文件报错
1. 运行环境
Windows10
vscode
grpc
protobuf
2. 问题描述?
使用shell脚本编写的使用protobuf生成go和ts文件的代码运行后,显示找不到路径和文件,使用./路径会显示“Could not make proto path relative: auth.proto: No such file or directory”,使用绝对路径会显示“–grpc-gateway_out: failed to read gRPC API Configuration description from “E”: open E: The system cannot find the file specified.”
3. 您期望得到的结果?
正常生成go文件和ts文件