当我将作曲家网络部署到现有频道时,它遇到了一个npm问题,即:
Failed to generate platform-specific docker build: Error returned from build: 1 "npm WARN deprecated circular-json@0.3.3: CircularJSON is in maintenance only, flatted is its successor.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: composer-common@0.20.2 (node_modules/composer-common):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: 504 Gateway Time-out: composer-common@0.20.2
npm ERR! code E504
npm ERR! 504 Gateway Time-out: composer-runtime-hlfv1@0.20.2
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2018-11-27T08_24_53_766Z-debug.log
"
我的Fabric版本为1.2.0,Composer版本为0.20.2。
我在中国,并且已经将fabric-ccenv的npm注册表修改为一个可以直接连接服务器的来源。
重新启动docker swarm时将解决此问题。
有人可以帮我解决这个问题吗?