Re: Unresolvable nodesdk and fabric image incompatibility - TypeError: client.getPeer is not a function AND Error: 2 UNKNOWN: chaincode error (status: 500, message: is not a valid endorsement system chaincode)
Gowri R <gowri.r@...>
Hi All, I have two issues. 1. Some client SDK functions stop working saying, function XYZ is not a function. "*info: [APPLICATION]: TypeError: client.getPeer is not a function*" I tried to resolve this and the only way it got resolved is by rewinding to my old installations (not as given in the link - https://github.com/hyperledger/caliper/issues/175) My current installations are (picked from package.json) "fabric-ca-client": "^1.2.2", "fabric-client": "^1.2.2", "grpc": "^1.15.1", AND npm version { DRWebapp: '1.0.0', npm: '5.6.0', ares: '1.10.1-DEV', cldr: '31.0.1', http_parser: '2.7.0', icu: '59.1', modules: '57', nghttp2: '1.25.0', node: '8.9.4', Now the problem is the code works if I have this but chaincode instantiation fails - Error: 2 UNKNOWN: chaincode error (status: 500, message: is not a valid endorsement system chaincode) The link https://github.com/hyperledger/caliper/issues/175, gives a solution to it but if I do that my code does not work. What is the underlying problem here? Thanks Gowri
On Tue, Nov 27, 2018 at 2:25 PM Gowri R <gowri.r@...> wrote:
|
|