vagrant.exe up gotool 失败

执行 vagrant.exe up 提示 gotool失败请问要怎么解决。。。
 ==> default: cd gotools && make install BINDIR=/opt/gopath/bin
==> default: make[1]: Entering directory '/opt/gopath/src/github.com/hyperledger/fabric/gotools'
==> default: make[2]: Entering directory '/opt/gopath/src/github.com/hyperledger/fabric/gotools'
==> default: Building github.com/golang/lint/golint -> golint
==> default: package golang.org/x/lint: unrecognized import path "golang.org/x/lint" (https fetch: Get  //golang.org/x/lint?go-get=1: dial tcp 216.239.37.1:443: i/o timeout)
==> default: Makefile:47: recipe for target 'gotool.golint' failed
==> default: make[2]: Leaving directory '/opt/gopath/src/github.com/hyperledger/fabric/gotools'
==> default: make[2]: *** [gotool.golint] Error 1
==> default: Makefile:52: recipe for target '/opt/gopath/src/github.com/hyperledger/fabric/gotools/build/gopath/bin/golint' failed
==> default: make[1]: Leaving directory '/opt/gopath/src/github.com/hyperledger/fabric/gotools'
==> default: make[1]: *** [/opt/gopath/src/github.com/hyperledger/fabric/gotools/build/gopath/bin/golint] Error 2
==> default: Makefile:115: recipe for target 'gotools' failed
==> default: make: *** [gotools] Error 2

孙善禄

赞同来自: 刘建丰

1.如果有条件尝试科学上网,重试。 2.可以使用已经提供的fabric.box包,里面包含所有依赖: https://github.com/shanlusun/blockchain/tree/master/hyperledger-fabric/setup_dev_pro 

刘建丰

赞同来自:

用了 提供 的 box. 可以ssh了。但是 make docker 的时候 还是有这个 'gotool.golint' failed 。 但是docker image 文件已经有了。   然后  ./network_setup.sh up的时候 在 Check orderering service availability... 的是时候失败。    2018-04-25 08:25:54.419 UTC [main] main -> ERRO 001 Cannot run peer because  error when setting up MSP from directory /opt/gopath/src/github.com/hyperl edger/fabric/peer/crypto/ordererOrganizations/example.com/orderers/orderer. example.com/msp: err Could not load a valid signer certificate from directo ry /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/ordererOrganiz ations/example.com/orderers/orderer.example.com/msp/signcerts, err stat /op t/gopath/src/github.com/hyperledger/fabric/peer/crypto/ordererOrganizations /example.com/orderers/orderer.example.com/msp/signcerts: no such file or di rectory !!!!!!!!!!!!!!! Ordering Service is not available, Please try again ... !!! !!!!!!!!!!!!! ================== ERROR !!! FAILED to execute End-2-End Scenario =========  

刘建丰

赞同来自:

参考  “github.com/golang/lint/issues/397” 已经解决问题 。

qyb

赞同来自:

您好,我也遇到这个问题ERRO 001 Cannot run peer because  error when setting up MSP from directory /opt/gopath/src/github.com/hyperl edger/fabric/peer/crypto/ordererOrganizations/example.com/orderers/orderer. example.com/msp: err Could not load a valid signer certificate from directo ry /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/ordererOrganiz ations/example.com/orderers/orderer.example.com/msp/signcerts, err stat /op t/gopath/src/github.com/hyperledger/fabric/peer/crypto/ordererOrganizations /example.com/orderers/orderer.example.com/msp/signcerts: no such file or di rectory 请问怎么解决

要回复问题请先登录注册