Hyperledger fabric Hyperledger编写器:网络启动时出错
✖ 启动业务网络定义。这可能需要一分钟。。。 错误:尝试启动业务网络时出错。错误:没有来自任何对等方的有效响应。 来自尝试的对等通信的响应为错误:错误:8资源\u耗尽:接收到的尾随元数据大小超过限制 命令失败Hyperledger fabric Hyperledger编写器:网络启动时出错,hyperledger-fabric,hyperledger-composer,Hyperledger Fabric,Hyperledger Composer,✖ 启动业务网络定义。这可能需要一分钟。。。 错误:尝试启动业务网络时出错。错误:没有来自任何对等方的有效响应。 来自尝试的对等通信的响应为错误:错误:8资源\u耗尽:接收到的尾随元数据大小超过限制 命令失败 Docker Log for the peer node-pre-gyp ERR! Completion callback never invoked! node-pre-gyp ERR! System Linux 3.13.0-144-generic node-pre-gyp ERR!
Docker Log for the peer
node-pre-gyp ERR! Completion callback never invoked!
node-pre-gyp ERR! System Linux 3.13.0-144-generic
node-pre-gyp ERR! command "/usr/local/bin/node" "/chaincode/output/node_modules/grpc/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build" "--library=static_library"
node-pre-gyp ERR! cwd /chaincode/output/node_modules/grpc
node-pre-gyp ERR! node -v v8.9.4
node-pre-gyp ERR! node-pre-gyp -v v0.10.0
node-pre-gyp ERR! This is a bug in `node-pre-gyp`.
node-pre-gyp ERR! Try to update node-pre-gyp and file an issue if it does not help:
node-pre-gyp ERR! <https://github.com/mapbox/node-pre-gyp/issues>
npm ERR! code ELIFECYCLE
npm ERR! errno 6
npm ERR! grpc@1.11.3 install: `node-pre-gyp install --fallback-to-build --library=static_library`
npm ERR! Exit status 6
npm ERR!
npm ERR! Failed at the grpc@1.11.3 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2018-05-10T01_47_37_859Z-debug.log
对等方的Docker日志
节点前gyp错误!从未调用完成回调!
节点前gyp错误!Linux系统3.13.0-144-generic
节点前gyp错误!命令“/usr/local/bin/node”“/chaincode/output/node_modules/grpc/node_modules/.bin/node pre-gyp”“安装”“--回退以生成”“--库=静态_库”
节点前gyp错误!cwd/链码/输出/节点单元模块/grpc
节点前gyp错误!节点-v v8.9.4
节点前gyp错误!gyp前节点-v v0.10.0
节点前gyp错误!这是'node pre gyp'中的一个错误。
节点前gyp错误!尝试更新node pre gyp并在没有帮助的情况下提交问题:
节点前gyp错误!
npm错误!代码失效循环
npm错误!厄尔诺6号
npm错误!grpc@1.11.3install:`node pre-gyp install--fallback to build--library=static\u library`
npm错误!退出状态6
npm错误!
npm错误!失败grpc@1.11.3安装脚本。
npm错误!这可能不是npm的问题。上面可能还有其他日志输出。
npm错误!此运行的完整日志可在以下位置找到:
npm错误/root/.npm/_logs/2018-05-10T01_47_37_859Z-debug.log
您的基础容器生成失败,因为grpc生成失败
- 什么操作系统和版本
- 您是否遵循了此处显示的所有预需求->李>
- 您还需要以“普通”用户(而不是sudo或root)的身份运行该prereqs脚本。此外,当使用模块时,必须将npm与
、sudo
或root
一起使用。我注意到您在日志中使用的是u to root
用户root