bevel-operator-fabric: Error while installing JavaScript Chaincode

I am trying to install the javascript fabcar chaincode by executing the following command:

kubectl hlf chaincode install --path=./fixtures/chaincodes/fabcar/javascript --config=org1.yaml --language=node --label=fabcar --user=admin --peer=org1-peer0.default

And getting the below error:

Error: Transaction processing for endorser [192.168.49.2:31466]: Chaincode status Code: (500) UNKNOWN. Description: failed to invoke backing implementation of 'InstallChaincode': could not build chaincode: external builder failed: external builder failed to build: external builder 'my-golang-builder' failed: exit status 1

I can see the error has something to do with golang. Is there a way I can debug it? Or, how can I install a JavaScript chanicode?

Thank you!

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Reactions: 1
  • Comments: 23 (11 by maintainers)

Most upvoted comments

I have meet a new error.

Error: Transaction processing for endorser [192.168.65.4:30227]: Chaincode status Code: (500) UNKNOWN. Description: failed to invoke backing implementation of 'InstallChaincode': could not build chaincode: docker build failed: docker build is disabled

@Dviejopomata Do you have any suggestions?Thanks a lot.

This is a stale issue, closing since there’s no activity. Open a new issue if needed

I can confirm that is a problem related to “minikube”. I tested with “kind” and all work perfectly.

Hi @pratikpatil024

Thanks for giving details about your environment.

I’m running the tests with KinD, but I haven’t tested the application with Minikube.

So there’s a possibility that this is related with minikube.