charmbracelet / charmbracelet/bubbletea

checksum mismatch

Open
#1,448 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
44.9k
Forks
1.3k
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**

I'm trying out the [Chat example](https://github.com/charmbracelet/bubbletea/blob/main/examples/chat/main.go) but I'm getting a checksum mismatch:

```
$ go get -t ./...
go: downloading github.com/charmbracelet/bubbles v0.21.0
go: downloading github.com/atotto/clipboard v0.1.4
go: downloading github.com/charmbracelet/x/ansi v0.9.3
go: downloading golang.org/x/text v0.3.8
go: test-bubbletea imports
github.com/charmbracelet/bubbles/textarea imports
github.com/charmbracelet/x/ansi: github.com/charmbracelet/x/ansi@v0.9.3: verifying module: checksum mismatch
downloaded: h1:N/UztZRAGcBZH0peJzdQkNQ/l9O2eSvAekrnQ7VdSOY=
sum.golang.org: h1:BXt5DHS/MKF+LjuK4huWrC6NCvHtexww7dMayh6GXd0=

SECURITY ERROR
This download does NOT match the one reported by the checksum server.
The bits may have been replaced on the origin server, or an attacker may
have intercepted the download attempt.

For more information, see 'go help module-auth'.
```

**Setup**
- macOS
- fish
- kitty
- no terminal multiplexer

**To Reproduce**

1. Make a new go module with `go mod init foobar`
2. Copy this file: https://github.com/charmbracelet/bubbletea/blob/main/examples/chat/main.go
3. Run `go get ./...`

**Source Code**
Please include source code if needed to reproduce the behavior.

**Expected behavior**

I expect `go get` to work.

**Screenshots**
Add screenshots to help explain your problem.

**Additional context**
Add any other context about the problem here.

Contributor guide

Open the contributing guide

Research direction

Start with examples/chat/main.go and reproduce the report in a new Go module using `go get ./...`. Investigate the reported github.com/charmbracelet/x/ansi checksum mismatch and verify that the chat example's dependencies can be downloaded successfully; done means the command completes without the checksum error.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.