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

tokengen cannot be installed with go install since we have a replace directive in go.mod. #722

Closed
arner opened this issue Aug 1, 2024 · 2 comments

Comments

@arner
Copy link
Contributor

arner commented Aug 1, 2024

➜ go install github.com/hyperledger-labs/fabric-token-sdk/cmd/tokengen@$FTS_COMMIT
go: github.com/hyperledger-labs/fabric-token-sdk/cmd/tokengen@9655e82 (in github.com/hyperledger-labs/fabric-token-sdk@v0.3.1-0.20240726130105-9655e829bd7a):
        The go.mod file for the module providing named packages contains one or
        more replace directives. It must not contain directives that would cause
        it to be interpreted differently than if it were the main module.

This is the case since we have the replace directive in go.mod:

replace github.com/hyperledger-labs/fabric-token-sdk/txgen => ./cmd/txgen

Can we find a different solution for this replace?

@adecaro
Copy link
Contributor

adecaro commented Aug 7, 2024

yes, we have a dependency in NWO. We need to get rid of that.

@arner
Copy link
Contributor Author

arner commented Oct 1, 2024

Done!

@arner arner closed this as completed Oct 1, 2024
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

2 participants