Pluralith / pluralith-cli

A tool for Terraform state visualisation and automated generation of infrastructure documentation
https://www.pluralith.com
Mozilla Public License 2.0
787 stars 54 forks source link

pluralith-cli linux error #128

Open cr0ssmind opened 1 year ago

cr0ssmind commented 1 year ago

Hello Daniel,

when I want to run the amd64 linux build of the cli, it gives me the following error:

./pluralith_cli_linux_amd64_v0.2.2 --help
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x40 pc=0x7e68b9]

goroutine 1 [running]:
pluralith/pkg/install.GetGitHubRelease({0x1116254, 0x37}, 0xc0006bfd30?, {0x0, 0x0}, 0x1)
    /Users/dan/Code/GoProjects/src/github.com/dantheputzer/pluralith-cli/app/pkg/install/GetGitHubRelease.go:38 +0x3b9
pluralith/pkg/install/components.GraphModule(0x60?)
    /Users/dan/Code/GoProjects/src/github.com/dantheputzer/pluralith-cli/app/pkg/install/components/GraphModule.go:35 +0x211
main.initApp()
    /Users/dan/Code/GoProjects/src/github.com/dantheputzer/pluralith-cli/app/main.go:32 +0x31e
main.main()
    /Users/dan/Code/GoProjects/src/github.com/dantheputzer/pluralith-cli/app/main.go:42 +0x17

What is the problem, how can I solve this runtime error?

Environment: OS: Fedora 37

Thanks!