This repository was archived by the owner on Nov 9, 2023. It is now read-only.

Description
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/protobuf@v1.3.2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/hyperledger/fabric-chaincode-go@v0.0.0-20200424173110-d7076418f212: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/hyperledger/fabric-contract-api-go@v1.1.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/hyperledger/fabric-protos-go@v0.0.0-20200424173316-dd554ba3746e: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/stretchr/testify@v1.5.1: 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?