我一直在尝试将Hyperledger Explorer安装到Hyperledger Fabric(1.0)的AWS实例上.我指的是https://github.com/hyperledger/blockchain-explorer中提到的安装步骤,这些步骤也在下面提到.
cd blockchain-explorer/app/test
npm install
npm run test
cd blockchain-explorer
npm install
cd client/
npm install
npm test -- -u --coverage
npm run build
Run Code Online (Sandbox Code Playgroud)
命令npm run test失败,出现以下错误.任何提示?
ubuntu@ip-172-31-2-180:~/gopath/src/github.com/hyperledger/fabric/blockchain-exp lorer$ npm run test
> hyperledger-explorer@0.3.0 test /home/ubuntu/gopath/src/github.com/hyperledger /fabric/blockchain-explorer
> echo 'Error: no test specified'
Error: no test specified
ubuntu@ip-172-31-2-180:~/gopath/src/github.com/hyperledger/fabric/blockchain-exp lorer$ cd ..
ubuntu@ip-172-31-2-180:~/gopath/src/github.com/hyperledger/fabric$ cd examples/e 2e_cli/
ubuntu@ip-172-31-2-180:~/gopath/src/github.com/hyperledger/fabric/examples/e2e_c li$ npm run test
npm ERR! path /home/ubuntu/gopath/src/github.com/hyperledger/fabric/examples/e2e _cli/package.json
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall …Run Code Online (Sandbox Code Playgroud)