启动Hyperledger业务网络时出错

时间:2019-06-28 05:33:58

标签: docker npm docker-compose hyperledger-fabric hyperledger-composer

我已经执行了使用此link配置超级账本业务网络的所有步骤。

我已经配置了所有步骤,但是我陷于启动业务网络的最后一步。出现此错误

 Error: Error trying to start business network. Error: No valid 
 responses from any peers.
 Response from attempted peer comms was an error: Error: failed to 
 execute transaction 
 6581ef4cc7b6fec6c0b69af693acb62d2690588288e5174d38fa86fcf90fef94: 
 error starting container: error starting container: Failed to 
 generate platform-specific docker build: Error returned from build: 
 1 "npm WARN notice [SECURITY] js-yaml has the following 
 vulnerabilities: 1 high, 1 moderate. Go here for more details: 
 https://www.npmjs.com/advisories?search=js-yaml&version=3.10.0-Run 
`npm i npm@latest -g` to upgrade your npm version, and then `npm 
audit` to get more info.

请帮助我解决这个问题。

我的环境:-

docker:- 18.09.7
docker-compose:-1.21.2
Node:-8.10.0
Npm:-6.9.2
Hyperdledger Fabric:-1.2
Composer:-0.20

请帮助我解决此问题。

1 个答案:

答案 0 :(得分:0)

以下是安装必需的开发工具的先决条件:

Operating Systems: Ubuntu Linux 14.04 / 16.04 LTS (both 64-bit), or Mac OS 10.12
Docker Engine: Version 17.03 or higher
Docker-Compose: Version 1.8 or higher
Node: 8.9 or higher (note version 9 and higher is not supported)
npm: v5.x
git: 2.9.x or higher
Python: 2.7.x

如果您在Ubuntu上运行,则可以使用以下命令下载必备软件:

curl -O https://hyperledger.github.io/composer/latest/prereqs-ubuntu.sh

chmod u+x prereqs-ubuntu.sh