Tools, FAQ, Tutorials:
Reinstall Chaincode on WYFA Network
How to Reinstall Chaincode on the WYFA (Writing Your First Application) network?
✍: FYIcenter.com
You can follow these steps to
Reinstall Chaincode on the WYFA (Writing Your First Application) network.
1. Try to install "fabcar" chaincode again. You may see an error, if the chaincode is already installed.
$ docker exec -it cli bash bash-4.4# export CC_SRC_PATH=/opt/gopath/src/github.com/fabcar/javascript bash-4.4# peer chaincode install -n fabcar -v 1.0 -p "$CC_SRC_PATH" -l node Error: install failed with status: 500 - error installing chaincode code fabcar:1.0(chaincode /var/hyperledger/production/chaincodes/fabcar.1.0 exists)
2. Reinstall "fabcar" chaincode:
bash-4.4# peer chaincode instantiate -o orderer.example.com:7050 -C mychannel \ -n fabcar -l node -v 1.0 -c '{"Args":[]}' -P "OR ('Org1MSP.member','Org2MSP.member')" Error: could not assemble transaction, err proposal response was not successful, error code 500, msg error starting container: error starting container: Failed to generate platform-specific docker build: Failed to pull hyperledger/fabric-nodeenv:latest: API error (404): manifest for hyperledger/fabric-nodeenv:latest not found
Ok, we got the same error as the startFabric.sh script.
See next tutorial on how to resolve the issue.
Â
⇒ "fabric-nodeenv:latest not found" Error
⇑ WYFA (Writing Your First Application)
⇑⇑ Hyperledger Tutorials
2020-02-29, 836👍, 0💬
Popular Posts:
How to detect errors occurred in the json_decode() call? You can use the following two functions to ...
How to create a new API on the Publisher Dashboard of an Azure API Management Service? If you are ne...
How to add images to my EPUB books Images can be added into book content using the XHTML "img" eleme...
How to use the "find-and-replace" Policy Statement for an Azure API service operation? The "find-and...
Where to find tutorials on the 2017 version of API Management Services at Azure Portal? Here is a li...