title: status: 500, message: cannot get package for chaincode
body: <pre><code>root@93272a1da547:/opt/gopath/src/github.com/hyperledger/fabric/peer# peer chaincode instantiate -o orderer.example.com:7050 --tls $CORE_PEER_TLS_ENABLED --cafile /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/ordererOrganizations/example.com/orderers/orderer.example.com/msp/tlscacerts/tlsca.example.com-cert.pem -C mychannel -n fabrep -v 1.0 -c '{"Args":["init","a", "100", "b","200"]}' -P "OR ('Org1MSP.member','Org2MSP.member')"
  </code></pre>
  
  <p>While trying to instantiate my chaincode, I am getting the following error:</p>
  
  <pre><code>2018-06-19 09:03:09.526 UTC [chaincodeCmd] checkChaincodeCmdParams -&gt; INFO 001 Using default escc
  2018-06-19 09:03:09.526 UTC [chaincodeCmd] checkChaincodeCmdParams -&gt; INFO 002 Using default vscc
  Error: Error endorsing chaincode: rpc error: code = Unknown desc = chaincode error (status: 500, message: cannot get package for chaincode (fabrep:1.0))
  </code></pre>
  
  <p>Can anyone tell what this means? and how to resolve the error?</p>