Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when packaging a contract #83

Open
gnurtcouq opened this issue Jan 4, 2022 · 1 comment
Open

Error when packaging a contract #83

gnurtcouq opened this issue Jan 4, 2022 · 1 comment

Comments

@gnurtcouq
Copy link

Hi,

I run below script to package smart contract:

docker exec -e CHANNEL_NAME=tradechannel -e CC_LANGUAGE=node -e CC_LABEL=trade -e CC_VERSION=v1 trade_cli cli_scripts/chaincode.sh package

There is error as:

OCI runtime exec failed: exec failed: container_linux.go:380: starting container process caused: exec: "cli_scripts/chaincode.sh": stat cli_scripts/chaincode.sh: no such file or directory: unknown

Any idea how to fix this?

Thx in advance,

@VRamakrishna
Copy link
Collaborator

It means your container doesn't have the cli_scripts/chaincode.sh file (i.e., it wasn't synced) in the expected location.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants