Troubleshoot Blockchain App Builder CLI
The following information can be used to troubleshoot system problems with Blockchain App Builder CLI.
- Prerequisites issues
- Errors can occur if you modify or upgrade any of the prerequisite software that
is required by Blockchain App Builder. You can use the
preReqCheck
command to check that your installation of Blockchain App Builder still meets the prerequisites.Usage:
preReqCheck [options]
ochain preReqCheck -h Usage: patch [options] Validates the pre-requisites of Blockchain App Builder Options : -h, --help output command usage information -D, --debug enable debug logging
- Deployment failure
- Due to deployment failure, corrupt deployment, a Docker peer container being full, or a Docker peer being killed in the local network, you may see an error similar to:
============ Started instantiate Chaincode ============ [2028-19-01T19:25:lO.372] [ERROR] default - Error instantiating Chaincode GollGl on channel mychannel, detailed error: Error: error starting container: error starting container: Failed to generate platform-specific docker build: Failed to pull hyperledger/fabric-ccenv:latest : API error (404): manifest for hyperledger/ fabric-ccenv:latest not found: manifest unknown: manifest unknown [2020-19-01T19:25:10.372] (INFO) default - ============ Finished instantiate Chaincode ============ [2020-19-01119:25:10.372] [ERROR] default - Error: Error instantiating Chaincode Goll01 on channel mychannel, detailed error: Error: error starting container: error starting container: Failed to generate platfom-specific docker build: Failed to pull hyperledger/fabric-ccenv: latest : API error (404): manifest for hyperledger/ fabric-ccenv:lalest not found: manifest unknown: manifest unknown exited: signal: terminated INFO: exited: signal: terminated ERROR: Error in Chaincode deployment
- macOS: Xcode
- After a macOS upgrade, or if Xcode is not installed, you might see an error similar to the following in the error log:
gyp: No Xcode or CLT version detected! gyp ERR! configure error gyp ERR! stack Error: `gyp` failed with exit code: 1 gyp ERR! stack at