GrantZheng / kit

GoKit CLI
MIT License
268 stars 54 forks source link

Does the tool require an operating system? #15

Closed MountainTang closed 2 years ago

MountainTang commented 4 years ago

I'm try kit n s Hello in Windows.But Kit throws an exception: genModule: sh -c cd hello && go mod init hello => err:exec: "sh": executable file not found in %PATH% , time="2020-09-16T10:11:30+08:00" level=error msg="genModule: sh -c cd hello && go mod init hello => err:exec: \"sh\": executable file not found in %PATH%

期待你的回复

GrantZheng commented 4 years ago

I'm try kit n s Hello in Windows.But Kit throws an exception: genModule: sh -c cd hello && go mod init hello => err:exec: "sh": executable file not found in %PATH% , time="2020-09-16T10:11:30+08:00" level=error msg="genModule: sh -c cd hello && go mod init hello => err:exec: "sh": executable file not found in %PATH%

期待你的回复

这个在window上支持的不友好,最好在linux下面运行:)

MountainTang commented 4 years ago

windows运行目前时失败的,是否有后续的修改计划?

speedoops commented 4 years ago

这个在window上支持的不友好,最好在linux下面运行:) 如果只是sh依赖的话可以在Windows上用Git bash跑