Whenever I try to instantiate a contract according to the MagnetoCorp example, I receive the following errors. In the terminal:
$ docker exec cliMagnetoCorp peer chaincode instantiate -n papercontract -v 0 -l node -c '{"Args":["org.papernet.commercialpaper:instantiate"]}' -C mychannel -P "AND ('Org1MSP.member')"
2019-05-03 06:00:40.396 UTC [chaincodeCmd] InitCmdFactory -> INFO 001 Retrieved channel (mychannel) orderer endpoint: orderer.example.com:7050 2019-05-03 06:00:40.400 UTC [chaincodeCmd] checkChaincodeCmdParams -> INFO 002 Using default escc 2019-05-03 06:00:40.400 UTC [chaincodeCmd] checkChaincodeCmdParams -> INFO 003 Using default vscc Error: could not assemble transaction, err proposal response was not successful, error code 500, msg chaincode registration failed: container exited with 1
I have already tried to update node js to version 10.x, but it didn't help. Any idea what should I do?