[GH-ISSUE #1128] Error downloading tview #817

Closed
opened 2026-03-04 01:07:57 +03:00 by kerem · 2 comments
Owner

Originally created by @mrtoadie on GitHub (Oct 14, 2025).
Original GitHub issue: https://github.com/rivo/tview/issues/1128

Hi,

error while trying to download tview:

package github.com/rivo/tview is not a main package

I tried this:

go get github.com/rivo/tview@master
or
go install github.com/rivo/tview@master
or
go install github.com/rivo/tview

Originally created by @mrtoadie on GitHub (Oct 14, 2025). Original GitHub issue: https://github.com/rivo/tview/issues/1128 Hi, error while trying to download tview: `package github.com/rivo/tview is not a main package` I tried this: `go get github.com/rivo/tview@master` or `go install github.com/rivo/tview@master` or `go install github.com/rivo/tview`
kerem closed this issue 2026-03-04 01:07:57 +03:00
Author
Owner

@MonkeyMatrix commented on GitHub (Oct 19, 2025):

Do you mind sharing what is currently in the directory where you are running the go get command (so, (ls/dir or even tree) and your go version? Or, if you want to reproduce it in a new module, that is also welcome.

<!-- gh-comment-id:3419913871 --> @MonkeyMatrix commented on GitHub (Oct 19, 2025): Do you mind sharing what is currently in the directory where you are running the `go get` command (so, (`ls`/`dir` or even `tree`) and your `go version`? Or, if you want to reproduce it in a new module, that is also welcome.
Author
Owner

@mrtoadie commented on GitHub (Oct 24, 2025):

Oh i'am sorry. My fault, i forgot go mod init.
Now tview works perfectley!

<!-- gh-comment-id:3444054063 --> @mrtoadie commented on GitHub (Oct 24, 2025): Oh i'am sorry. My fault, i forgot `go mod init`. Now tview works perfectley!
Sign in to join this conversation.
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/tview#817
No description provided.