作曲家卡导入错误 return "Required file not found: connection.json"

composer card import error return "Required file not found: connection.json"

我使用以下命令为业务网络创建了管理卡

composer network start -c PeerAdmin@hlfv1 -n airlines8 -V 0.0.1 -A Admin -S adminpw

日志

Starting business network airlines8 at version 0.0.1

Processing these Network Admins: 
userName: admin

✔ Starting business network definition. This may take a minute...
Successfully created business network card:
Filename: admin@airlines8.card

Command succeeded

要导入我 运行 下面的命令但出现错误

composer card import -f airlines8 -c admin@airlines8

错误日志:

Error: Required file not found: connection.json
Command failed

你导入卡的命令不正确,试试

composer card import -f admin@airlines8.card

-f 标志定义了您要导入的卡片文件的名称。