HyperledgerHandsOn / trade-finance-logistics

Trade Finance and Logistics based on Letter of Credit and Proof of Shipment
Apache License 2.0
174 stars 1.49k forks source link

Error when packaging a contract #83

Open gnurtcouq opened 2 years ago

gnurtcouq commented 2 years ago

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 commented 2 years ago

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