hyperledger / firefly-cli

FireFly Command Line Interface (CLI)
Apache License 2.0
57 stars 52 forks source link

Error: failed to find installed chaincode #297

Closed aleleo1998 closed 5 months ago

aleleo1998 commented 6 months ago

any solutions? i did 1) peer lifecycle chaincode package -p . --label asset_transfer ./asset_transfer.zip 2) ff deploy fabric dev asset_transfer.zip firefly asset_transfer 1.0

installing chaincode querying installed chaincode Error: failed to find installed chaincode Usage: ff deploy fabric [flags]

Flags: -h, --help help for fabric

Global Flags: --ansi string control when to print ANSI control characters ("never"|"always"|"auto") (default "auto") -v, --verbose verbose log output

Error: failed to find installed chaincode

My peer version: peer: Version: v2.5.6 Commit SHA: 61fad7b Go version: go1.21.6 OS/Arch: linux/amd64 Chaincode: Base Docker Label: org.hyperledger.fabric Docker Namespace: hyperledger

my go version: go version go1.14 linux/amd64

nguyer commented 6 months ago

Thanks for reporting this @aleleo1998. I also recently ran into this issue and it should be fixed in https://github.com/hyperledger/firefly-cli/pull/300