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
export GOPATH=$(mktemp -d)
cd $(mktemp -d)
mkdir hello
cd hello
go mod init example.com/hello
cat <<EOD > main.go
package main
import _ "launchpad.net/gocheck"
func main() {}
EOD
go mod tidy
What did you expect to see?
An error message telling me that bzr was not available in my PATH
What did you see instead?
Zero exit code and no messages. go.mod also untouched:
$ cat go.mod
module example.com/hello
go build at least fails with a non-zero exit code, but a rather vague error message:
$ go build
build example.com/hello: cannot find module for path launchpad.net/gocheck
In fact in this situation we can be very specific: the error comes about because bzr is not in our PATH.
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
n/a: working with 1.11rc1
What operating system and processor architecture are you using (
go env
)?What did you do?
Requires that
bzr
not be in yourPATH
:What did you expect to see?
An error message telling me that
bzr
was not available in myPATH
What did you see instead?
Zero exit code and no messages.
go.mod
also untouched:go build
at least fails with a non-zero exit code, but a rather vague error message:In fact in this situation we can be very specific: the error comes about because
bzr
is not in ourPATH
./cc @rsc @bcmills
Not sure whether you would consider this a release-blocker? I've not marked it as such for now
The text was updated successfully, but these errors were encountered: