hyperledger-archives / education

Hyperledger training material
https://wiki.hyperledger.org/display/LMDWG
Apache License 2.0
372 stars 360 forks source link

Could not find chaincode with the name 'tuna-app' #130

Closed nimaafraz closed 5 years ago

nimaafraz commented 5 years ago

getting all tuna from database: Store path:/Users/nima/.hfc-key-store Successfully loaded user1 from persistence error: [client-utils.js]: sendPeersProposal - Promise is rejected: Error: make sure the chaincode tuna-app has been successfully instantiated and try again: could not find chaincode with name 'tuna-app' at /Users/nima/fabric/education/LFS171x/fabric-material/tuna-app/node_modules/grpc/src/node/src/client.js:554:15 Query has completed, checking results error from query = { Error: make sure the chaincode tuna-app has been successfully instantiated and try again: could not find chaincode with name 'tuna-app' at /Users/nima/fabric/education/LFS171x/fabric-material/tuna-app/node_modules/grpc/src/node/src/client.js:554:15 code: 2, metadata: Metadata { _internal_repr: {} } }