Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Windows] Can't build simple-go-server use goc! #48

Closed
JasonkayZK opened this issue Jun 28, 2020 · 4 comments
Closed

[Windows] Can't build simple-go-server use goc! #48

JasonkayZK opened this issue Jun 28, 2020 · 4 comments
Labels
enhancement New feature or request

Comments

@JasonkayZK
Copy link

D:\workspace\simple-go-server (master -> origin)
λ goc build .
level=fatal msg="Fail to build: fail to list package dependencies"

@CarlJi
Copy link
Collaborator

CarlJi commented Jun 28, 2020

hi @JasonkayZK , please turn on the debug flag as goc build . --debug, then provide the full logs, which would be better for us to locate the root cause.

@JasonkayZK
Copy link
Author

D:\workspace\simple-go-server (master -> origin)
λ goc build . --debug
time="2020-06-28T17:40:24+08:00" level=info msg="Working directory: D:\\workspace\\simple-go-server" file="[build\\build.go:153]"
time="2020-06-28T17:40:24+08:00" level=info msg="go list cmd is: [/bin/bash -c go list -json ./...]" file="[cover\\cover.go:257]"
time="2020-06-28T17:40:24+08:00" level=error msg="excute `go list -json ./...` command failed, err: exec: \"/bin/bash\": file does not exist, out: " file="[cover\\cover.go:264]"
time="2020-06-28T17:40:24+08:00" level=error msg="fail to list package dependencies" file="[build\\tmpfolder.go:41]"
time="2020-06-28T17:40:24+08:00" level=fatal msg="Fail to build: fail to list package dependencies" file="[cmd\\build.go:68]"

I see, so win10 is not supported, goc works well in Linux! ♥

@CarlJi
Copy link
Collaborator

CarlJi commented Jun 28, 2020

Thanks for your trying, i think goc supporting windows should be a good enhancement, we will consider it for planning.

@lyyyuna lyyyuna reopened this Jun 29, 2020
@CarlJi CarlJi added the enhancement New feature or request label Jun 29, 2020
@lyyyuna lyyyuna changed the title Can't build simple-go-server use goc! [Windows] Can't build simple-go-server use goc! Jul 2, 2020
@timandy
Copy link

timandy commented Dec 6, 2022

fixed at #321

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants