Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

go.mod file not found in current directory or any parent directory #6

Open
alark-28 opened this issue Mar 21, 2024 · 0 comments
Open

Comments

@alark-28
Copy link

alark-28 commented Mar 21, 2024

go.mod file not found in current directory or any parent directory

keshav@Keshav:~/go/src/github.com/alark/fabric-iot/network$ ./cc-install.sh
=================== start ===================
start at:2024-03-21 14:18:21

install ac:1.0 github.com/newham/fabric-iot/chaincode/go/ac Synchro
Installing smart contract on peer0.org1.fabric-iot.edu
2024-03-21 20:18:21.210 UTC 0001 INFO [chaincodeCmd] checkChaincodeCmdParams -> Using default escc
2024-03-21 20:18:21.210 UTC 0002 INFO [chaincodeCmd] checkChaincodeCmdParams -> Using default vscc
Error: error getting chaincode deployment spec for ac: 'go list' failed with: no required module provides package github.com/newham/fabric-iot/chaincode/go/ac: go.mod file not found in current directory or any parent directory; see 'go help modules': exit status 1

When I am trying to install chain-code I am getting this error. I am using HLF 25, docker 26 and go 1.11, could it be the compatibility issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant