我能够生成我的存档文件 (.bna),但是当我运行命令来部署它时,我收到以下错误:
$ composer network deploy --archiveFile test@1.0.0.bna --enrollId user_type4_1 --enrollSecret <secret> -p bluemix
Deploying business network from archive: test@1.0.0.bna
Business network definition:
Identifier: test@1.0.0
Description:
TypeError: First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.
Command failed
connection.json
我的个人bluemix
资料文件是:
{
"type": "hlf",
"membershipServicesURL": "grpcs://6175a0e332ef47a3b87dc1056697e76b-ca.us.blockchain.ibm.com:30001",
"peerURL": "grpcs://6175a0e332ef47a3b87dc1056697e76b-vp3.us.blockchain.ibm.com:30001",
"eventHubURL": "grpcs://6175a0e332ef47a3b87dc1056697e76b-vp3.us.blockchain.ibm.com:31001",
"keyValStore": "/home/jeff/.composer-credentials",
"deployWaitTime": "300",
"invokeWaitTime": "100"
}