mnt-ltd / moredoc

moredoc,魔豆文库,基于golang开发的类似百度文库的开源文库系统,dochub文库的重构版本。
https://moredoc.mnt.ltd
Apache License 2.0
443 stars 106 forks source link

按照后端初始化命令:make api 报错 #18

Closed huaishitou closed 1 year ago

huaishitou commented 1 year ago

按照后端初始化命令:make api 找不到文件 - *.proto protoc --proto_path=. \ --proto_path=./third_party \ --proto_path=./api \ --gogofaster_out="plugins=grpc,paths=source_relative:." \ --grpc-gateway_out="paths=source_relative:." \

Missing input file. make: *** [Makefile:22: api] Error 1

请问如何解决?

TruthHun commented 1 year ago

Windows 下,用 Git Bash,且在项目目录下执行 make api 操作。