hyperledger / fabric-samples

Samples for Hyperledger Fabric
https://wiki.hyperledger.org/display/fabric
Apache License 2.0
2.79k stars 3.39k forks source link

Chaincode installation on peer0.org1 has failed Deploying chaincode failed #839

Closed deamonyi closed 2 years ago

deamonyi commented 2 years ago

I built version 2.4 and used test-network to test the network in my Docker for Windows. The chaincode was not successfully deployed, and an error was reported as follows: `$ ./network.sh deployCC -ccn basic -ccp ../asset-transfer-basic/chaincode-go -ccl go Using docker and docker-compose deploying chaincode on channel 'mychannel' executing with the following

Conan@HaibaraAi MINGW64 /d/Fabric/fabric-samples/test-network $ ./network.sh deployCC -ccn basic -ccp ../asset-transfer-basic/chaincode-go -ccl go Using docker and docker-compose deploying chaincode on channel 'mychannel' executing with the following

deamonyi commented 2 years ago

I try use fabirc-sample2.2 and it worked successfully.