[GH-ISSUE #1] Unable to install #1

Closed
opened 2026-02-28 14:35:45 +03:00 by kerem · 7 comments
Owner

Originally created by @quaintdev on GitHub (Oct 5, 2023).
Original GitHub issue: https://github.com/mathenz/goffy/issues/1

First of all thank you for creating this utility and sharing it.

I was trying to install using the command in documentation I am getting below error

go: 'go install' requires a version when current directory is not in a module
	Try 'go install github.com/mathenz/goffy@latest' to install the latest version

Any suggestions?

Originally created by @quaintdev on GitHub (Oct 5, 2023). Original GitHub issue: https://github.com/mathenz/goffy/issues/1 First of all thank you for creating this utility and sharing it. I was trying to install using the command in documentation I am getting below error ``` go: 'go install' requires a version when current directory is not in a module Try 'go install github.com/mathenz/goffy@latest' to install the latest version ``` Any suggestions?
kerem closed this issue 2026-02-28 14:35:46 +03:00
Author
Owner

@mathenz commented on GitHub (Oct 5, 2023):

Hi, thanks for reporting this.

Did you specify "@latest" in the command?

<!-- gh-comment-id:1749284569 --> @mathenz commented on GitHub (Oct 5, 2023): Hi, thanks for reporting this. Did you specify "@latest" in the command?
Author
Owner

@quaintdev commented on GitHub (Oct 5, 2023):

Hey Hi

Yes I had added @latest in command

Thanks


From: Mateo H. @.>
Sent: Thursday, October 5, 2023 10:09:23 pm
To: mathenz/goffy @.
>
Cc: quaintdev @.>; Author @.>
Subject: Re: [mathenz/goffy] Unable to install (Issue #1)

Hi, thanks for reporting this.

Did you specify @.***https://github.com/latest" in the command?


Reply to this email directly, view it on GitHubhttps://github.com/mathenz/goffy/issues/1#issuecomment-1749284569, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AOD4LA4XHGYVVEAKMJFUBZTX53PDJAVCNFSM6AAAAAA5URAFKOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONBZGI4DINJWHE.
You are receiving this because you authored the thread.Message ID: @.***>

<!-- gh-comment-id:1749287204 --> @quaintdev commented on GitHub (Oct 5, 2023): Hey Hi Yes I had added @latest in command Thanks ________________________________ From: Mateo H. ***@***.***> Sent: Thursday, October 5, 2023 10:09:23 pm To: mathenz/goffy ***@***.***> Cc: quaintdev ***@***.***>; Author ***@***.***> Subject: Re: [mathenz/goffy] Unable to install (Issue #1) Hi, thanks for reporting this. Did you specify ***@***.***<https://github.com/latest>" in the command? — Reply to this email directly, view it on GitHub<https://github.com/mathenz/goffy/issues/1#issuecomment-1749284569>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AOD4LA4XHGYVVEAKMJFUBZTX53PDJAVCNFSM6AAAAAA5URAFKOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONBZGI4DINJWHE>. You are receiving this because you authored the thread.Message ID: ***@***.***>
Author
Owner

@quaintdev commented on GitHub (Oct 5, 2023):

Sorry for confusion the actual error I got initially was this. The latest related error came after I tried without @latest

go: downloading github.com/mathenz/goffy v1.0.2
go: github.com/mathenz/goffy@latest (in github.com/mathenz/goffy@v1.0.2): go.mod:3: invalid go version '1.21.0': must match format 1.23
<!-- gh-comment-id:1749297027 --> @quaintdev commented on GitHub (Oct 5, 2023): Sorry for confusion the actual error I got initially was this. The latest related error came after I tried without @latest ``` go: downloading github.com/mathenz/goffy v1.0.2 go: github.com/mathenz/goffy@latest (in github.com/mathenz/goffy@v1.0.2): go.mod:3: invalid go version '1.21.0': must match format 1.23 ```
Author
Owner

@mathenz commented on GitHub (Oct 5, 2023):

Oh, I see. I'll try something.

By the way, does it work if you install it from the 'latest releases' section?

<!-- gh-comment-id:1749309544 --> @mathenz commented on GitHub (Oct 5, 2023): Oh, I see. I'll try something. By the way, does it work if you install it from the 'latest releases' section?
Author
Owner

@quaintdev commented on GitHub (Oct 5, 2023):

Yes I can run binary without issue


From: Mateo H. @.>
Sent: Thursday, October 5, 2023 10:25:29 PM
To: mathenz/goffy @.
>
Cc: quaintdev @.>; Author @.>
Subject: Re: [mathenz/goffy] Unable to install (Issue #1)

Oh, I see. I'll try something.

By the way, does it work if you install it from the 'latest releases' section?


Reply to this email directly, view it on GitHubhttps://github.com/mathenz/goffy/issues/1#issuecomment-1749309544, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AOD4LAZMSXCNYTMZJLUDJYTX53RADAVCNFSM6AAAAAA5URAFKOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONBZGMYDSNJUGQ.
You are receiving this because you authored the thread.Message ID: @.***>

<!-- gh-comment-id:1749316959 --> @quaintdev commented on GitHub (Oct 5, 2023): Yes I can run binary without issue ________________________________ From: Mateo H. ***@***.***> Sent: Thursday, October 5, 2023 10:25:29 PM To: mathenz/goffy ***@***.***> Cc: quaintdev ***@***.***>; Author ***@***.***> Subject: Re: [mathenz/goffy] Unable to install (Issue #1) Oh, I see. I'll try something. By the way, does it work if you install it from the 'latest releases' section? — Reply to this email directly, view it on GitHub<https://github.com/mathenz/goffy/issues/1#issuecomment-1749309544>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AOD4LAZMSXCNYTMZJLUDJYTX53RADAVCNFSM6AAAAAA5URAFKOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONBZGMYDSNJUGQ>. You are receiving this because you authored the thread.Message ID: ***@***.***>
Author
Owner

@mathenz commented on GitHub (Oct 5, 2023):

Hey, @quaintdev

What version do you get when you run 'go version'?

<!-- gh-comment-id:1749385853 --> @mathenz commented on GitHub (Oct 5, 2023): Hey, @quaintdev What version do you get when you run 'go version'?
Author
Owner

@mathenz commented on GitHub (Oct 5, 2023):

I changed the version to 1.20 due to formatting problems with '1.21.0'. I can install the program on my machine without issue. Could you try it again?

<!-- gh-comment-id:1749439721 --> @mathenz commented on GitHub (Oct 5, 2023): I changed the version to 1.20 due to formatting problems with '1.21.0'. I can install the program on my machine without issue. Could you try it again?
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/goffy#1
No description provided.