joefitzgerald / go-get

An Atom Package For Managing Go Libraries And Executables
Other
5 stars 0 forks source link

Error Getting Package: Bad argument #3

Closed pierrre closed 8 years ago

pierrre commented 8 years ago

I have a window:

Would you like to run go get -ugolang.org/x/tools/cmd/goimports?

Run Go Get

I click Run Go Get.

It displays a message:

Error Getting Package
Bad argument

And there is another message in the dev console:

TypeError: Bad argument(…)         manager.js:85

Line 85 in manager.js is

console.log(r.error)
joefitzgerald commented 8 years ago

Can you reproduce this?

pierrre commented 8 years ago

Actually, it happens if the GOPATH is not detected. I fixed this bug by starting Atom from the terminal.