When I run the go-micro,it tips build command-line-arguments: cannot load crypto/ed25519: cannot find module providing package crypto/ed25519,but i find the module is exists in gopath.
Unfortunately this is not enough information to work with.
Can you provide the output of the command you run? Also, what version of go are you running?
Unfortunately, I also encountered this problem, my go version is 1.12.7
I'm also seeing this as well:
/go # go version
go version go1.12.4 linux/amd64
/go # go get -u github.com/micro/go-micro
package crypto/ed25519: unrecognized import path "crypto/ed25519" (import path does not begin with hostname)
If you are not using go modules please use Go version 1.13
go version go1.12.9 windows/amd64
Please use Go version 1.13 as the change in library is related to the go version change. This is tracked by a third party depedency and if you are not using go modules we cannot effectively pin that.
However I tried to update 1.13,it also occurs this problem.
@songdony How did you resolve the same? I think so the error is with go.sum file of this crypto package. I have tried everything changed three versions still no success.
did you resolve
I have solved it.The ways:
1.Reset the Go Path
2.Put the go.mod in a new project and enable Go Modules;
3.Run " go mod download";
4.Run " go get -u github.com/micro/go-micro";
$mkdir -p $GOPATH/src/github.com/micro
$cd !$
$git clone https://github.com/micro/go-micro.git
$go mod download
verifying github.com/lucas-clemente/[email protected]: checksum mismatch
downloaded: h1:TRbvZ6F++sofeGbh+Z2IIyIOhl8KyGnYuA06g2yrHdI=
go.sum: h1:dYHUyB50gEQlK3KqytmNySzuyzAcaQ3iuI2ZReAfVrE=
$rm go.sum
$go mod download
tried everything still not resolved
tried everything still not resolved
Try to use package github.com/gogo/protobuf/proto instead github.com/golang/protobuf/proto
It seems like it helped me.
having the same issue here.
package crypto/ed25519: unrecognized import path "crypto/ed25519" (import path does not begin with hostname)
did you resolve
I have solved it.The ways:
1.Reset the Go Path
2.Put the go.mod in a new project and enable Go Modules;
3.Run " go mod download";
4.Run " go get -u github.com/micro/go-micro";
Hi, did you fix it by following these steps after upgrading to go 1.13 ? or still with go 1.12 ?
and which version the go-micro is ?
i've tried go-micro v1.9.1 and v1.11.0 with go 1.12, not work...
@songdony
did you resolve
I have solved it.The ways:
1.Reset the Go Path
2.Put the go.mod in a new project and enable Go Modules;
3.Run " go mod download";
4.Run " go get -u github.com/micro/go-micro";Hi, did you fix it by following these steps after upgrading to go 1.13 ? or still with go 1.12 ?
and which version the go-micro is ?
i've tried go-micro v1.9.1 and v1.11.0 with go 1.12, not work...
@songdony
well, it's fixed by upgrading to go 1.13
Unfortunately this is breaking existing docker files that include anything go-based :-(
We are using ubuntu:rolling, and apt-get gets go 1.12, I'd be happy to upgrade to 1.13 but its not clear (to a non-go coder like me) how to go about doing that within a docker.
Unfortunately this is breaking existing docker files that include anything go-based :-(
We are using ubuntu:rolling, and apt-get gets go 1.12, I'd be happy to upgrade to 1.13 but its not clear (to a non-go coder like me) how to go about doing that within a docker.
There is a file go.sum and go.mod. In that file please delete all the lines with crypto package. and then run the docker.
I've no idea how you would find those files in a docker installation. Someone posted a fix in https://github.com/ipfs/ipfs-update/issues/114 which worked for us, which was to change command line from GO111MODULE=on go get -u -v github.com/ipfs/ipfs-update to GO111MODULE=on go get -v github.com/ipfs/ipfs-update. I don't know if that will work for other situations.
clientconn.go:49:2: use of internal package google.golang.org/grpc/internal/resolver/dns not allowed
Most helpful comment
If you are not using go modules please use Go version 1.13