Error setting up kubeconfig: writing kubeconfig: Error writing file : open : no such file or directory

Problem

You get the following error when trying to start minikube:

Error setting up kubeconfig: writing kubeconfig: Error writing file : open : no such file or directory

Solution

Unset the KUBECONFIG variable like:

unset KUBECONFIG