Skip to content

[BUG] #316

@Marwan-Mamdouh

Description

@Marwan-Mamdouh

commands analyze and status not working on windows 11

some commands are not working in windows, i do not know why but i think it has something to do with the location of some files, the app search for go.sum but can not find it when i run mole analyze

Steps to reproduce

  1. Run command: mole
  2. then choose Analyze
  3. see this error "Building analyze tool...
    Failed to build analyze tool: cmd\analyze\main.go:19:2: missing go.sum entry for module providing package github.com/charmbracelet/bubbletea (imported by github.com/tw93/mole/windows/cmd/analyze); to add: go get github.com/tw93/mole/windows/cmd/analyze

Press any key to continue..."

Debug logs

Image
mole analyze --debug

Steps to reproduce

  1. Run command: mole
  2. then choose Status
  3. see this error "Failed to build status tool: cmd\status\main.go:16:2: missing go.sum entry for module providing package github.com/charmbracelet/bubbletea (imported by github.com/tw93/mole/windows/cmd/status); to add: go get github.com/tw93/mole/windows/cmd/status cmd\status\main.go:17:2: missing go.sum entry for module providing package github.com/charmbracelet/lipgloss (imported by github.com/tw93/mole/windows/cmd/status); to add: go get github.com/tw93/mole/windows/cmd/status cmd\status\main.go:18:2: missing go.sum entry for module providing package github.com/shirou/gopsutil/v3/cpu (imported by github.com/tw93/mole/windows/cmd/status); to add: go get github.com/tw93/mole/windows/cmd/status cmd\status\main.go:19:2: missing go.sum entry for module providing package github.com/shirou/gopsutil/v3/disk (imported by github.com/tw93/mole/windows/cmd/status); to add: go get github.com/tw93/mole/windows/cmd/status cmd\status\main.go:20:2: missing go.sum entry for module providing package github.com/shirou/gopsutil/v3/host (imported by github.com/tw93/mole/windows/cmd/status); to add: go get github.com/tw93/mole/windows/cmd/status cmd\status\main.go:21:2: missing go.sum entry for module providing package github.com/shirou/gopsutil/v3/mem (imported by github.com/tw93/mole/windows/cmd/status); to add: go get github.com/tw93/mole/windows/cmd/status cmd\status\main.go:22:2: missing go.sum entry for module providing package github.com/shirou/gopsutil/v3/net (imported by github.com/tw93/mole/windows/cmd/status); to add: go get github.com/tw93/mole/windows/cmd/status cmd\status\main.go:23:2: missing go.sum entry for module providing package github.com/shirou/gopsutil/v3/process (imported by github.com/tw93/mole/windows/cmd/status); to add: go get github.com/tw93/mole/windows/cmd/status"

Debug logs

Image
mole status --debug

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions