Closed yrcs closed 11 months ago
$ make config
C:/ Files/Git/mingw64/bin/ C:/ Files/Git/bin/bash.exe
/usr/bin/sh: line 1: C:/: Is a directory
protoc --proto_path=./internal \
--proto_path=./third_party \
--go_out=paths=source_relative:./internal \
Missing input file.
make: *** [config] 错误 1
Hi, @yrcs! I'm Dosu, and I'm helping the kratos-layout team manage their backlog. I wanted to let you know that we are marking this issue as stale.
From what I understand, the current issue is related to the Git_Bash in the Makefile causing issues with paths containing spaces and not supporting the \
path for Linux Shell. The suggested solution to replace find
with /usr/bin/find
in the Makefile seems to resolve the issue. There was a recent comment by windzhu0514 providing an example of the error and suggesting the fix, which confirms the resolution.
Before we close this issue, we wanted to check with you if it is still relevant to the latest version of the kratos-layout repository. If it is, please let us know by commenting on the issue. Otherwise, feel free to close the issue yourself, or it will be automatically closed in 7 days.
Thank you for your contribution to the kratos-layout repository!
The current Git_Bash does not support paths with spaces and does not support the "\" path for Linux Shell. It is also not easy to use. So whether Windows or Linux, the best solution is just to replace
find
with/usr/bin/find
. As follows shown: