I am working through the IBM tutorials to better understand blockchain technically. I got stuck on Step A4.6: Click 'myAssetExists' to open the Transaction View. For some reason when I connected to the Fabric Gateway in VS Code it did not bring in the drop down menu for 'demo-contract@0.0.1' under the Fabric Gateway section.
Then I am receiving an error that says it could not get the metadata for smart contract demo contract... the warning/error looks like this:
[5/3/2021 2:29:19 PM] [WARNING] Could not get metadata for smart contract demo-contract. The smart contract may not have been developed with the programming model delivered in Hyperledger Fabric v1.4+ for Java, JavaScript and TypeScript. Error: Transaction function "org.hyperledger.fabric:GetMetadata" returned an error: Query failed. Errors: ["Peer org1peer-api.127-0-0-1.nip.io:8080: error in simulation: failed to execute transaction c387520943329acbfcb67d1639b63467791006d9e6464deaa491426b3d940337: could not launch chaincode demo-contract_0.0.1:6da187e384f13aa34360d36f2c645a793b7d811c32d4ae7b483d8519f312fa87: chaincode registration failed: failed to wait on container exit: builder 'node' run failed: exit status 1"]
I'm still a beginner in VS code and coding in general. So I'm not sure exactly what the error message means.