Skip to content
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

Comments

@madhurikoduru
Copy link

madhurikoduru commented Aug 29, 2022

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

  1. In windows, open visual studio code with ibm blockchain extension. Create default smart contract and package it.
  2. Connect to the existing /default environment and deploy the smart contract in the channel of the environment.
  3. Error

Existing issues

Log File

log.txt

@jt-nti
Copy link
Contributor

jt-nti commented Dec 13, 2022

Unfortunately this project is no longer active- see #3183

For simulating a Blockchain network I would recommend having a look at the following guide, which works in WSL2 on Windows
https://github.com/hyperledger/fabric-samples/tree/main/full-stack-asset-transfer-guide

@jt-nti jt-nti closed this as completed Dec 13, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants