我试图通过以下方式启动网络:
composer network start --networkName tutorial-network --networkVersion 0.0.1 --networkAdmin admin --networkAdminEnrollSecret adminpw --card PeerAdmin@hlfv1 --file networkadmin.card
但后来我得到了这个错误:
Processing these Network Admins:
userName: admin
⠋ Starting business network definition. This may take a minute...
✖ 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: cannot get package for chaincode (tutorial-network:0.0.1)
Command failed
我已经找到了解决方案。在这里分享给遇到同样问题的人