Welcome to the Linux Foundation Forum!

cant install my_chaincode Error: error getting chaincode code my_chaincode: path to chaincode does n

so i connect to the cli container with docker exec -it cli bash and run the command:
peer chaincode install -n my_chaincode -v 1.0 -p chaincode_source -l golang. it gives the Error: error getting chaincode code my_chaincode: path to chaincode does not exist

Comments

  • Posts: 193

    @a.gaffar
    Please check the directory where the simple chaincode is stored. The simple_chaincode points to the github.com/chaincode/simple_chaincode directory. The path where the peer chaincode install -n my_chaincode -v 1.0 -p chaincode_source -l golang. is looking may not be pointing to the correct directory. Hope this helps.
    Bobbi

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Categories

Upcoming Training