You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 31, 2023. It is now read-only.
Extension for IBM blockchain is not working properly on Windows: unable to deploy default smartcontract in default environment provided by IBM blockchain extension
#3168
Closed
2 tasks
madhurikoduru opened this issue
Aug 29, 2022
· 1 comment
I am trying to use the blockchain extension for simulating the Blockchain network. So as part of it, I have create a new project with the default contract provided by extension. I tried deploying the smart contract under Fabric Environments ->mychannel ->deploy smart contract and imported the MyAsset smart contract. But it is failing with following error "Failed to deploy smart contract, Package was not installed. No packageId was returned" and "Failed to install on peer Org1 Peer with reason: Could not install smart contact received error: failed with status:500 ::failed to invoke backing implementation of 'InstallChaincode': could not build chaincode: external builder failed: external builder failed to build: external builder 'golang' failed: exit status 1
Expected Behavior
Smart contract should be deployed
Actual Behavior
Failing with following error:Failed to deploy smart contract, Package was not installed. No packageId was returned" and "Failed to install on peer Org1 Peer with reason: Could not install smart contact received error: failed with status:500 ::failed to invoke backing implementation of 'InstallChaincode': could not build chaincode: external builder failed: external builder failed to build: external builder 'golang' failed: exit status 1
Possible Fix
suggest a fix or reason for bug
Steps to Reproduce
In windows, open visual studio code with ibm blockchain extension. Create default smart contract and package it.
Connect to the existing /default environment and deploy the smart contract in the channel of the environment.
Description
I am trying to use the blockchain extension for simulating the Blockchain network. So as part of it, I have create a new project with the default contract provided by extension. I tried deploying the smart contract under Fabric Environments ->mychannel ->deploy smart contract and imported the MyAsset smart contract. But it is failing with following error "Failed to deploy smart contract, Package was not installed. No packageId was returned" and "Failed to install on peer Org1 Peer with reason: Could not install smart contact received error: failed with status:500 ::failed to invoke backing implementation of 'InstallChaincode': could not build chaincode: external builder failed: external builder failed to build: external builder 'golang' failed: exit status 1
Expected Behavior
Smart contract should be deployed
Actual Behavior
Failing with following error:Failed to deploy smart contract, Package was not installed. No packageId was returned" and "Failed to install on peer Org1 Peer with reason: Could not install smart contact received error: failed with status:500 ::failed to invoke backing implementation of 'InstallChaincode': could not build chaincode: external builder failed: external builder failed to build: external builder 'golang' failed: exit status 1
Possible Fix
suggest a fix or reason for bug
Steps to Reproduce
Existing issues
Log File
log.txt
The text was updated successfully, but these errors were encountered: