I am follownig this tutorial - https://docs.aws.amazon.com/managed-blockchain/latest/hyperledger-fabric-dev/get-started-chaincode.html - when i am using this command - docker exec cli peer lifecycle chaincode package ./abstore.tar.gz --path fabric-samples/chaincode/abstore/go/ --label abstore_1, this give me following error - Error: failed to normalize chaincode path: 'go list' failed with: error obtaining VCS status: exit status 128 Use -buildvcs=false to disable VCS stamping.: exit status 1. Expected result - it should create abstore.tar.gz file of chaincode. I am using go version go1.18.4

2

There are 2 best solutions below

0
Mohammed Ashraf On

could you try to add --lang go

0
Md Abid Khan On

this issue occurs when git is not configured properly.