Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make时报错 #74

Open
kaventre opened this issue Jan 29, 2023 · 4 comments
Open

make时报错 #74

kaventre opened this issue Jan 29, 2023 · 4 comments

Comments

@kaventre
Copy link

go test -race -coverprofile=coverage.txt -covermode=atomic ./account/... ./common/... ./xuper/...
go: github.com/btcsuite/[email protected]: Get "https://proxy.golang.org/github.com/btcsuite/btcutil/@v/v0.0.0-20190425235716-9e5f4b9a998d.mod": dial tcp 172.217.163.49:443: connect: connection refused
make: *** [test] Error 1

@superlitian
Copy link
Contributor

连接 github 失败,可以检查一下代理设置

@kaventre
Copy link
Author

kaventre commented Feb 3, 2023 via email

@superlitian
Copy link
Contributor

: dial tcp 172.217.163.49:443: connect: connection refused

@vickiwang2020
Copy link

我也是make时报错:
ubuntu@Blockchain:~/XuperChain/xuper-sdk-go$ make
go test -race -coverprofile=coverage.txt -covermode=atomic ./account/... ./common/... ./xuper/...

github.com/xuperchain/xuper-sdk-go/v2/account

package testmain: cannot find package
FAIL github.com/xuperchain/xuper-sdk-go/v2/account [setup failed]

github.com/xuperchain/xuper-sdk-go/v2/common

package testmain: cannot find package
FAIL github.com/xuperchain/xuper-sdk-go/v2/common [setup failed]

github.com/xuperchain/xuper-sdk-go/v2/common/config

package testmain: cannot find package
FAIL github.com/xuperchain/xuper-sdk-go/v2/common/config [setup failed]

github.com/xuperchain/xuper-sdk-go/v2/xuper

package testmain: cannot find package
FAIL github.com/xuperchain/xuper-sdk-go/v2/xuper [setup failed]
FAIL
make: *** [Makefile:16: test] Error 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants