Deploy CLI Runtime Error "invalid memory address or nil pointer dereference"
When using the new deploy CLI to try to update the branding templates, the following error occurs.
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x2 addr=0x0 pc=0x10536b650]
goroutine 42 [running]:
github.com/auth0/auth0-cli/internal/cli.(*cli).obtainCustomTemplateData.func3()
/home/runner/work/auth0-cli/auth0-cli/internal/cli/branding.go:435 +0x240
golang.org/x/sync/errgroup.(*Group).Go.func1()
/home/runner/go/pkg/mod/golang.org/x/sync@v0.1.0/errgroup/errgroup.go:75 +0x5c
created by golang.org/x/sync/errgroup.(*Group).Go
/home/runner/go/pkg/mod/golang.org/x/sync@v0.1.0/errgroup/errgroup.go:72 +0xa4
- Deploy CLI
- Runtime Error
This is a known bug from a previous version of the cli: https://github.com/auth0/auth0-cli/issues/515.
This issue has been fixed and released with the v1.0.0 release. Installing the version v1.0.0 or above should resolve the issue.