Skip to content

Charmbracelet dependency error #81

Description

@davidferlay

Observed

  • Building with plugins sometimes throw a dependency error:
plasmactl build --no-cache -t 500s --tag nethttpomithttp2 -vvv \
-p github.com/launchrctl/compose@main \                                                                                                                                                        
-p github.com/launchrctl/keyring@main \
-p github.com/launchrctl/launchr@main \
-p github.com/launchrctl/web@main \
-p github.com/skilld-labs/plasmactl-bump/v2@main \
-p github.com/skilld-labs/plasmactl-meta@main \
-p github.com/skilld-labs/plasmactl-update@main \
-p github.com/skilld-labs/plasmactl-release@main \
-n plasmactl -o plasmactlx --build-version v0.0.0
cp plasmactlx ~/go/bin/

...
 INFO  Generating the go files
 INFO  Running plugin generation
/home/dferlay/go/pkg/mod/github.com/charmbracelet/bubbletea@v1.2.4/tea.go:26:2: missing go.sum entry for module providing package golang.org/x/sync/errgroup (imported by github.com/charmbracelet/bubbletea); to add:
	go get github.com/charmbracelet/bubbletea@v1.2.4
  ERROR   exit status 1
  • Charmbracelet is a dependency of bump plugin:
ag charmbracelet             
go.mod
28:	github.com/charmbracelet/bubbles v0.20.0 // indirect
29:	github.com/charmbracelet/bubbletea v1.2.4 // indirect
30:	github.com/charmbracelet/huh v0.6.0 // indirect
31:	github.com/charmbracelet/lipgloss v1.0.0 // indirect
32:	github.com/charmbracelet/x/ansi v0.7.0 // indirect
33:	github.com/charmbracelet/x/exp/strings v0.0.0-20250116134054-e10c5c25afb9 // indirect
34:	github.com/charmbracelet/x/term v0.2.1 // indirect
  • This error disappear by itself when retrying, which makes me thing it's a kind of race condition

Expected

  • Building plasmactl with plugins should not throw any error

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions