Skip to content

Deploying chaincode failed #551

Open
@MahathirMohammadShuvo

Description

@MahathirMohammadShuvo

I can not deploy chaincode. here is all the commands that i use:


# Update
sudo apt-get update

# Install dependencies
sudo apt-get install git curl docker-compose jq nodejs npm -y

# install go(https://go.dev/doc/install)
cd Downloads/

sudo rm -rf /usr/local/go && sudo tar -C /usr/local -xzf go1.21.3.linux-amd64.tar.gz

export PATH=$PATH:/usr/local/go/bin

go version


git clone https://github.com/hyperledger-labs/fabric-operations-console

cd fabric-operations-console/scripts

sudo ./setupNetwork.sh up

But I am getting this error:

Error: failed to normalize chaincode path: failed to determine module root: exec: "go": executable file not found in $PATH
Chaincode packaging has failed
Deploying chaincode failed

I have attached the full log file with this issue, so you can check it.
full_log.txt. can anyone tell me what is the issue here or how to fix it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions