Skip to content

Error running devspace #233

@joshughes

Description

@joshughes

Just trying to start my first project...

Just set up using all the default options.

Kubectl works okay for my local K8 Cluster

Using Docker For Mac Kubernetes

On MacOS using v1.0.3

panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x8 pc=0x4d91ff3]

goroutine 1 [running]:
github.com/covexo/devspace/pkg/devspace/clients/kubectl.GetClientConfig(0x40, 0x555ea60, 0xc42130d201)
	/Users/travis/gopath/src/github.com/covexo/devspace/pkg/devspace/clients/kubectl/client.go:217 +0x53
github.com/covexo/devspace/pkg/devspace/clients/kubectl.NewClient(0xc420632500, 0x0, 0xc420723c00)
	/Users/travis/gopath/src/github.com/covexo/devspace/pkg/devspace/clients/kubectl/client.go:36 +0x22
github.com/covexo/devspace/cmd.(*UpCmd).Run(0xc42052d480, 0xc420885680, 0x68ea920, 0x0, 0x0)
	/Users/travis/gopath/src/github.com/covexo/devspace/cmd/up.go:129 +0x7c
github.com/covexo/devspace/cmd.(*UpCmd).Run-fm(0xc420885680, 0x68ea920, 0x0, 0x0)
	/Users/travis/gopath/src/github.com/covexo/devspace/cmd/up.go:95 +0x52
github.com/covexo/devspace/vendor/github.com/spf13/cobra.(*Command).execute(0xc420885680, 0x68ea920, 0x0, 0x0, 0xc420885680, 0x68ea920)
	/Users/travis/gopath/src/github.com/covexo/devspace/vendor/github.com/spf13/cobra/command.go:766 +0x2c1
github.com/covexo/devspace/vendor/github.com/spf13/cobra.(*Command).ExecuteC(0x68af2a0, 0x0, 0x0, 0x0)
	/Users/travis/gopath/src/github.com/covexo/devspace/vendor/github.com/spf13/cobra/command.go:852 +0x30a
github.com/covexo/devspace/vendor/github.com/spf13/cobra.(*Command).Execute(0x68af2a0, 0x0, 0x0)
	/Users/travis/gopath/src/github.com/covexo/devspace/vendor/github.com/spf13/cobra/command.go:800 +0x2b
github.com/covexo/devspace/cmd.Execute()
	/Users/travis/gopath/src/github.com/covexo/devspace/cmd/root.go:39 +0x91
main.main()
	/Users/travis/gopath/src/github.com/covexo/devspace/main.go:15 +0x3e

Metadata

Metadata

Assignees

Labels

kind/bugSomething isn't workingsystem/macIssues related to using DevSpace CLI on Mac OS

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions