因为要安装新的清晰版Hyperledger Fabric,我删除了一个月前的旧Hyperledger文件,运行“vagrant destroy”。
我成功运行“vagrant up”和“vagrant ssh”。
当我运行“peer”时,如果失败,我“make peer”成功。当我再次运行“make peer”和“peer”时,弹出错误如下:
vagrant@ubuntu-1404:/opt/gopath/src/github.com/hyperledger/fabric$ make peer
make: Nothing to be done for `peer'.
vagrant@ubuntu-1404:/opt/gopath/src/github.com/hyperledger/fabric$ peer
No command 'peer' found, did you mean:
Command 'pee' from package 'moreutils' (universe)
Command 'beer' from package 'gerstensaft' (universe)
Command 'peel' from package 'ears' (universe)
Command 'pear' from package 'php-pear' (main)
peer: command not found
vagrant@ubuntu-1404:/opt/gopath/src/github.com/hyperledger/fabric$
vagrant@ubuntu-1404:/opt/gopath/src/github.com/hyperledger/fabric$ cd peer
vagrant@ubuntu-1404:/opt/gopath/src/github.com/hyperledger/fabric/peer$ ls -l
total 60
drwxr-xr-x 1 vagrant vagrant 204 Jun 26 01:16 bin
-rw-r--r-- 1 vagrant vagrant 17342 Jun 25 14:18 core.yaml
-rw-r--r-- 1 vagrant vagrant 35971 Jun 25 14:18 main.go
-rw-r--r-- 1 vagrant vagrant 1137 Jun 23 08:46 main_test.go