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

Not run go 1.19.5 on windows #386

Open
JulioGastonPita opened this issue Jan 24, 2023 · 1 comment
Open

Not run go 1.19.5 on windows #386

JulioGastonPita opened this issue Jan 24, 2023 · 1 comment

Comments

@JulioGastonPita
Copy link

My Version
go version go1.19.5 windows/amd64

Error:
error: createdb: unable to import package: 1:22: import "createdb" error: unable to find source related to: "createdb"

thank you

@JulioGastonPita JulioGastonPita changed the title not run go 1.19.5 windows Not run go 1.19.5 on windows Jan 24, 2023
@cristoper
Copy link

I get this same error with go1.19.8 on linux. I think xo now requires go1.20 as of this commit?: 8ff53af

$ xo
error: createdb: unable to import package: 1:22: import "createdb" error: src/main/vendor/createdb/createdb.go:13:2: import "os/exec" error: unable to find source related to: "os/exec"

$ go version
go version go1.19.8 linux/amd64

$ uname -a
Linux debian-x1 6.1.0-7-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.20-1 (2023-03-19) x86_64 GNU/Linux

I can't easily try go1.20 with the latest xo at the moment, but as a workaround with go1.19 this version working for me:
go install github.com/xo/xo@6229cdc0626262f9997da0e0ea073a542fee922e

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

No branches or pull requests

2 participants