Couldn't get current server API group list: Get "http://localhost:8080/api?timeout=32s": dial tcp 127.0.0.1:8080: connect: connection refused

You need to start minikube first

command:
minikube start

and then try it again

Thanks this solution works