You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The module I'm currently working with gets an error running go mod tidy when the module requires pkg.dsb.dev v0.0.0-20201009154706-060ec2f08e50 for package contents as well as the binary included in pkg/cmd/pkg-build.
When I remove the import line from the tools.go file, the modules download fine for that version. However, when I include the import in tools.go I get:
not found: github.com/davidsbond/[email protected]: invalid version: git fetch -f origin refs/heads/*:refs/heads/* refs/tags/*:refs/tags/* in /tmp/gopath/pkg/mod/cache/vcs/8faae6178ee6230f04ecbf18b6e88b47018daa8afc4afcebe958647e8e1283f3: exit status 128:
fatal: unable to access 'https://github.com/davidsbond/pkg/': Could not resolve host: github.com
What did you expect to see?
The cmd/pkg-build folder to be downloaded and included in my vendor folder alongside the other packages in the module
What did you see instead?
not found: github.com/davidsbond/[email protected]: invalid version: git fetch -f origin refs/heads/*:refs/heads/* refs/tags/*:refs/tags/* in /tmp/gopath/pkg/mod/cache/vcs/8faae6178ee6230f04ecbf18b6e88b47018daa8afc4afcebe958647e8e1283f3: exit status 128:
fatal: unable to access 'https://github.com/davidsbond/pkg/': Could not resolve host: github.com
The text was updated successfully, but these errors were encountered:
What version of Go are you using (
go version
)?go version go1.15 linux/amd64
Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?What did you do?
Committed to my repository https://github.com/davidsbond/pkg, containing a
cmd
directory which has amain.go
. I am using atools.go
file and vendoring to install the new binary like so:tools.go:
The module I'm currently working with gets an error running
go mod tidy
when the module requirespkg.dsb.dev v0.0.0-20201009154706-060ec2f08e50
for package contents as well as the binary included inpkg/cmd/pkg-build
.When I remove the import line from the
tools.go
file, the modules download fine for that version. However, when I include the import intools.go
I get:https://sum.golang.org/lookup/github.com/davidsbond/[email protected]
What did you expect to see?
The
cmd/pkg-build
folder to be downloaded and included in myvendor
folder alongside the other packages in the moduleWhat did you see instead?
The text was updated successfully, but these errors were encountered: