Hyperledger fabric Hyperledger编写器CreatePeerCardAdmin正在引发解压缩错误

Hyperledger fabric Hyperledger编写器CreatePeerCardAdmin正在引发解压缩错误,hyperledger-fabric,hyperledger,hyperledger-composer,Hyperledger Fabric,Hyperledger,Hyperledger Composer,我正在尝试将JWT for hyperledger composer启用到我的区块链项目中 然而,在遵循以下步骤时,我遇到了以下错误。我不知道这是什么意思: Error: Can't find end of central directory : is this a zip file ? If it is, see http://stuk.github.io/jszip/documentation/howto/read_zip.html 运行/createPeerAdminCard.sh时,下

我正在尝试将JWT for hyperledger composer启用到我的区块链项目中

然而,在遵循以下步骤时,我遇到了以下错误。我不知道这是什么意思:

Error: Can't find end of central directory : is this a zip file ? If it is, see http://stuk.github.io/jszip/documentation/howto/read_zip.html
运行
/createPeerAdminCard.sh
时,下面是精确的输出:

Development only script for Hyperledger Fabric control
Running 'createPeerAdminCard.sh'
FABRIC_VERSION is set to 'hlfv11'
FABRIC_START_TIMEOUT is unset, assuming 15 (seconds)

Using composer-cli at v0.19.5

Successfully created business network card file to
        Output file: /tmp/PeerAdmin@hlfv1.card

Command succeeded


Successfully imported business network card
        Card file: /tmp/PeerAdmin@hlfv1.card
        Card name: PeerAdmin@hlfv1

Command succeeded

Error: Can't find end of central directory : is this a zip file ? If it is, see http://stuk.github.io/jszip/documentation/howto/read_zip.html
Command failed

Hyperledger Composer PeerAdmin card has been imported, host of fabric specified as 'localhost'

你在Mac电脑上运行吗

~/.comoposer
文件夹中存在隐藏文件时,就会发现此问题

如果您有需要保留的卡,请尝试使用
composer卡导出
尝试导出它们,然后删除文件夹
~/.composer
,然后重新运行脚本以创建对等管理卡


这里有一些问题的细节。

您是在Mac上运行的吗

~/.comoposer
文件夹中存在隐藏文件时,就会发现此问题

如果您有需要保留的卡,请尝试使用
composer卡导出
尝试导出它们,然后删除文件夹
~/.composer
,然后重新运行脚本以创建对等管理卡


这里有一些问题的细节。

谢谢。是的,我正在Mac上运行它。我会试试你的。谢谢。是的,我正在Mac上运行它。我会尝试尝试你的尝试。