Open yuyuyuyuyuyuyuyuyu opened 5 years ago
undefined: strings.ReplaceAll You need use the Golang1.13.x instead of old.
cannot convert nil to type csr.KeyRequest cannot use req.KeyRequest (type *csr.KeyRequest) as type csr.KeyRequest in argument to getBCCSPKeyOpts
You need use the go mod and choose a concrete version per each dependency as well as set a goproxy for which downloads often get timeout.
我也遇到这个错误,蹲个解决方案,要是用go mod岂不是要改Makefile文件
Here is the solution: https://stackoverflow.com/questions/57843256/there-is-something-wrong-with-fabric-sdk-go-when-i-run-go-buildwith-dep
I've tried and it works.
我也遇到这个错误,蹲个解决方案,要是用go mod岂不是要改Makefile文件
请问你解决问题了吗
Here is the solution: https://stackoverflow.com/questions/57843256/there-is-something-wrong-with-fabric-sdk-go-when-i-run-go-buildwith-dep
I've tried and it works.
Thanks!I've solve it
请问一下,在执行make命令的时候报以下错误:
github.com/kongyixueyuan.com/education/vendor/github.com/hyperledger/fabric-sdk-go/internal/github.com/hyperledger/fabric-ca/util
vendor/github.com/hyperledger/fabric-sdk-go/internal/github.com/hyperledger/fabric-ca/util/csp.go:47:8: cannot convert nil to type csr.KeyRequest vendor/github.com/hyperledger/fabric-sdk-go/internal/github.com/hyperledger/fabric-ca/util/csp.go:132:37: cannot use req.KeyRequest (type *csr.KeyRequest) as type csr.KeyRequest in argument to getBCCSPKeyOpts
github.com/kongyixueyuan.com/education/vendor/github.com/zmap/zlint/lints
vendor/github.com/zmap/zlint/lints/result.go:75:9: undefined: strings.ReplaceAll Makefile:17: recipe for target 'build' failed 怎么解决?