Welcome to the Linux Foundation Forum!

I am running the command yes | ./byfn.sh up and getting error: Error: error getting chaincode deploy

I am running the command yes | ./byfn.sh up and getting error:
Error: error getting chaincode deployment spec for mycc: error getting chaincode package bytes: failed to calculate dependencies: incomplete package: github.com/hyperledger/fabric/core/chaincode/shim
!!!!!!!!!!!!!!! Chaincode installation on peer0.org1 has failed !!!!!!!!!!!!!!!!
========= ERROR !!! FAILED to execute End-2-End Scenario ===========

ERROR !!!! Test failed

Comments

  • Bobbijn
    Bobbijn Posts: 190

    @jjsull1van ,
    Hello, It looks like you are having issues signing up your first network. Here are the instructions in the lab:

    Spin up the network
    1. Navigate to the first-network folder.

    cd ~/go/src/github.com/hyperledger/fabric-samples/first-network/

    1. Generate network artifacts.

    yes | ./byfn.sh generate

    1. Spin up the network.

    yes | ./byfn.sh up

    Make sure you are in the correct folder when you issue this command. Let me know if this helps or if you require additional assistance.

    Bobbi
    Ledger Academy

  • Close this post

This discussion has been closed.

Categories

Upcoming Training