I've had this problem before. What I did to solve it and seems bizarre is I created a new file and just simply copied and pasted the entire chaincode to the new file and used that.
Em domingo, 27 de outubro de 2019 10:26:04 BRT, praviteja@... <praviteja@...> escreveu:
I am writing a chaincode in Typescript and trying to deploy on to a Custom Network with an orderer, one Peer with Couch DB and a CA.
When i deploy the chaincode on to the peer , the following message appears.
When the same chaincode is run in fabcar example instantiates with no issues .