✖启动业务网络定义。这可能需要一分钟...... 错误:尝试启动业务网络时出错。错误:没有来自任何同行的有效回复。 来自尝试的对等通信的响应是错误:错误:8 RESOURCE_EXHAUSTED:收到的尾随元数据大小超出限制 命令失败
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
答案 0 :(得分:0)
由于grpc无法构建,您的基础容器构建失败。
sudo
,root
或u to root
一起使用它。我在您的日志中注意到您使用的是root
用户。