You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So I have my network up running properly and I'm able to enroll the admin and register the user. But when I try to install the chaincode with the node install_chaincode.js command I get the following error.
It seems to be an uncommon error since I haven't been able to find much information about it.
The text was updated successfully, but these errors were encountered:
I see you have not installed marbles chaincode. perhaps the chaincode is not in the right directory or the chaincode itself is strange. check the path_2_chaincode field in the install_chaincode.js script, check if the chaincode is actually in that directory, and upload your chaincode here in a zip.
I tried to solve it that way but I ended up with the same error. Anyway the chaincode I'm trying is the same as marbles but with a different name to see if it installed correctly to later on include my own chaincode. The biggest problem is that I have no idea what the error is supposed to mean so I don't know how to tackle it.
The trick is to look at the right logs. Your peer is having trouble with the chaincode. So you need to look at the peer's logs. If it is a locally hosted peer, you can see the logs with docker logs <container id> or add -f to follow the logs live and re-run the install.
So I have my network up running properly and I'm able to enroll the admin and register the user. But when I try to install the chaincode with the
node install_chaincode.js
command I get the following error.It seems to be an uncommon error since I haven't been able to find much information about it.
The text was updated successfully, but these errors were encountered: