【ERORR未解决】npm ERR! request to https://registry.npmjs.org/composer-runtime-hlfv1 failed, reason: unab

尝试js开发遇到问题,开了一个v2版本的换了一些东西准备跑一下试试看,遇到错误。
它尝试启动一个ccenv但是没有启动成功。
(改动的地方是把类的引用改为了id的引用,因为类的引用接口不是很明白该咋写。)
然后报错,错误信息如下:

错误描述

cielo@cielo-ThinkPad-E550:~/cprogrames/csupplychainv2/dist$ composer network start -n csupplychainv2 -c PeerAdmin@hlfv1 -V 0.0.1 -A admin -S adminpw
Starting business network csupplychainv2 at version 0.0.1

Processing these Network Admins: 
        userName: admin

✖ Starting business network definition. This may take a minute...
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 e68bffefeba3f8b1a16f1f9ee8e5b252910f4585d9202692f268b09401abdba8: error starting container: error starting container: Failed to generate platform-specific docker build: Error returned from build: 1 "npm ERR! code UNABLE_TO_VERIFY_LEAF_SIGNATURE
npm ERR! errno UNABLE_TO_VERIFY_LEAF_SIGNATURE
npm ERR! request to https://registry.npmjs.org/composer-runtime-hlfv1 failed, reason: unable to verify the first certificate

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2019-05-02T13_47_45_416Z-debug.log
"
Command failed

详细信息

清空所有东西重新搞一遍,还是有错误:

cielo@cielo-ThinkPad-E550:~/cprogrames/csupplychainv2/dist$ composer network start -n csupplychainv2 -c PeerAdmin@hlfv1 -V 0.0.2 -A admin -S adminpw
Starting business network csupplychainv2 at version 0.0.2

Processing these Network Admins: 
        userName: admin

✖ Starting business network definition. This may take a minute...
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 a58d6a257c5a29e8672b430d35ecdd0f3d1f8f5f5b1cefc4116435c644fe7388: error starting container: error starting container: Failed to generate platform-specific docker build: Error returned from build: 137 "npm WARN deprecated hawk@3.1.3: This module moved to @hapi/hawk. Please make sure to switch over as this distribution is no longer supported and may contain bugs and critical security issues.
npm WARN notice [SECURITY] hoek has the following vulnerability: 1 moderate. Go here for more details: https://nodesecurity.io/advisories?search=hoek&version=2.16.3 - Run `npm i npm@latest -g` to upgrade your npm version, and then `npm audit` to get more info.
npm WARN deprecated hoek@2.16.3: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
npm WARN deprecated sntp@1.0.9: This module moved to @hapi/sntp. Please make sure to switch
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值