-
Notifications
You must be signed in to change notification settings - Fork 163
Error: chaincode install failed with status: 500 #344
Comments
You were not using minifabric, right? Or you were using minifabric for the process? If you were, try to install the chaincode comes with minifabric, if it works then most likely the chaincode you have may have some issues.
…Sent from my iPhone
On Jun 23, 2022, at 7:57 AM, Quintanaaalberto ***@***.***> wrote:
Hi guys, i am following the tutorial at https://hyperledger-fabric.readthedocs.io/en/latest/test_network.html, to learn to develop a hyperledger fabric network through fabric-samples. When i tried to install the chaincode and deploy it on the
ZjQcmQRYFpfptBannerStart
This Message Is From an External Sender
This message came from outside your organization.
ZjQcmQRYFpfptBannerEnd
Hi guys,
i am following the tutorial at https://hyperledger-fabric.readthedocs.io/en/latest/test_network.html<https://hyperledger-fabric.readthedocs.io/en/latest/test_network.html>, to learn to develop a hyperledger fabric network through fabric-samples. When i tried to install the chaincode and deploy it on the few peers i have available it returns an inconsistent vendoring error i cannot seem to fix...
Should result in: Installation completed on peers
Current result: Chaincode installation on has failed. Deploying chaincode failed.
I have installed the latest version of fabric and fabric-samples as of today, 23rd of June 2022
ERROR ->
" Error: chaincode install failed with status: 500 - failed to invoke backing implementation of 'InstallChaincode': could not build chaincode: docker build failed: docker image build failed: docker build failed: Error returned from build: 1 "go: inconsistent vendoring in /chaincode/input/src:
***@***.***: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
***@***.***: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
***@***.***: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
***@***.***: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
***@***.***: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt "
I have tried to fix this by running go mod vendor and tidy directly on the chaincode directory. But i cannot seem to fix it.
Any ideas?
—
Reply to this email directly, view it on GitHub<#344>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AAO2NS3RXWU4UYSVVZGPQQTVQRGK5ANCNFSM5ZUC3QJA>.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
No. I have used minifabric and i had no issue. Im posting this here but I'm working with fabric-samples |
|
Hi guys,
i am following the tutorial at https://hyperledger-fabric.readthedocs.io/en/latest/test_network.html, to learn to develop a hyperledger fabric network through fabric-samples. When i tried to install the chaincode and deploy it on the few peers i have available it returns an inconsistent vendoring error i cannot seem to fix...
Should result in: Installation completed on peers
Current result: Chaincode installation on has failed. Deploying chaincode failed.
I have installed the latest version of fabric and fabric-samples as of today, 23rd of June 2022
ERROR ->
" Error: chaincode install failed with status: 500 - failed to invoke backing implementation of 'InstallChaincode': could not build chaincode: docker build failed: docker image build failed: docker build failed: Error returned from build: 1 "go: inconsistent vendoring in /chaincode/input/src:
github.com/golang/[email protected]: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/hyperledger/[email protected]: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/hyperledger/[email protected]: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/hyperledger/[email protected]: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/stretchr/[email protected]: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt "
I have tried to fix this by running go mod vendor and tidy directly on the chaincode directory. But i cannot seem to fix it.
Any ideas?
The text was updated successfully, but these errors were encountered: