Open iain17 opened 6 years ago
The issue here is probably that you don't have gx-go installed, and its needed for working with go-ipfs
I get the same outputs, and I do have gx-go installed.
I've also set my language on package.json
to "go"
(also tried "Go"
).
fiatjaf@luke ~/c/test [1]> gx install
[done] [install] xstrings QmSqo5o4gA8Jnd1UvbXKpQ6toDNUDt4a4xtzUmu1ZPieaa 0s
fiatjaf@luke ~/c/test> go run main.go
main.go:5:5: cannot find package "gx/ipfs/QmV58SA4ZdqFkdJXbbFBGWhdCCMCk8QQdtvsVJxYN2rN8A" in any of:
/usr/local/go/src/gx/ipfs/QmV58SA4ZdqFkdJXbbFBGWhdCCMCk8QQdtvsVJxYN2rN8A (from $GOROOT)
/home/fiatjaf/comp/go/src/gx/ipfs/QmV58SA4ZdqFkdJXbbFBGWhdCCMCk8QQdtvsVJxYN2rN8A (from $GOPATH)
Nevermind, the problem is that I was using a different hash.
Browsing $GOPATH/src/gx/ipfs/
helped me.
I've updated to the latest gx version and now all of a sudden it won't install packages child dependencies.
The commands I'm running:
And you end up with:
even tried doing another: gx install - seems to install everything, but it just doesn't.
I see the packages are now installed in the vendor directory. Has anything else changed that might've broken gx?