Closed zchee closed 7 years ago
Or, it's github.com/vektra/errors
issue?
I have the same error. No comments from Digital Ocean?
It is known issue. As far as I know, @bryanl was looking into it, but I don't know did he made any progress with it. There was even some PRs that tried to fix it but it was out of luck. You can just run command again and it should install it without any problem. Take look at #42 for more insight about it.
Have the same issue here. command: $ go get github.com/digitalocean/doctl/cmd/doctl exits with message: $ fatal: no submodule mapping found in .gitmodules for path 'vendor/github.com/vektra/errors'
$ go version go version go1.6.2 linux/amd64
this hack https://github.com/digitalocean/doctl/issues/47#issuecomment-278467149 is enough to get the tool built, but from a production perspective skipping the tests is not really an ideal solution.
@xmudrii Ohh. Today, I understood that cause. I'll send pull request later(maybe).
Hi, I tried
go get github.com/digitalocean/doctl/cmd/doctl
, occur error. the log is below. FYI, it's the first fetch and also triedrm -rf doctl
and re-fetch usegit
directly. same results.I don't know
doctl
repository history(did use submodule for the manage vendoring previous?), but it might exist junk submodule data on git tree.go get
command automatically fetch submodule with--recursive
flag, andgit clone --recursive
will occur. Ifgit clone
only, maybe not occur.Anyway, If I'm not wrong(my git environment), I think we should solve it.