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

Can not install d2 with go install #2126

Closed
Reoneks opened this issue Sep 29, 2024 · 1 comment · Fixed by #2129
Closed

Can not install d2 with go install #2126

Reoneks opened this issue Sep 29, 2024 · 1 comment · Fixed by #2129

Comments

@Reoneks
Copy link

Reoneks commented Sep 29, 2024

go install oss.terrastruct.com/d2@latest                                                                                                                                                                                               
go: oss.terrastruct.com/d2@latest (in oss.terrastruct.com/d2@v0.6.7):
	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.

If I understand correctly it's because of replace cdr.dev/slog => cdr.dev/slog v1.4.2 in go.mod file. Can you please remove this line?

@alixander
Copy link
Collaborator

alixander commented Sep 29, 2024

Ah didn't realize that. Yes, will be removed, thank you.

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

Successfully merging a pull request may close this issue.

2 participants