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

  • Bobbijn
    Bobbijn Posts: 75

    @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

Categories

Upcoming Training