-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Minikube not automatically added to PATH when using installer (Win7, PATH truncation?) #3053
Comments
I just ran into this issue. It appears that the installer truncated my path to 1024 characters. This is somewhat serious since not only does minikube fail to work as expected but it also breaks other programs in the process. |
@StarfallProjects - Do you mind sharing your current PATH value? I'm curious if truncation is coming into play for you. |
So I went and manually added it to get the thing working, so not sure if this is helpful - am a kubernetes noob. But this is everything in my PATH now: C:\Users\Deborah\AppData\Local\Programs\Python\Python36-32\Scripts;C:\Users\Deborah\AppData\Local\Programs\Python\Python36-32;C:\Ruby24-x64\bin;C:\Users\Deborah\AppData\Local\GitHub\PortableGit_c7e0cbde92ba565cb218a521411d0e854079a28c\cmd\git.exe;C:\hugo\bin;C:\Progra~1\Java\jdk1.8.0_91;C:\Python27;C:\Users\Deborah\AppData\Local\Programs\Fiddler;C:\Program Files\Sublime Text 3;C:\PHP;C:\Users\Deborah\AppData\Roaming\Composer\vendor\bin;C:\SQLite;C:\Go;C:\Users\Deborah\Desktop\GoWorkspace\bin;C:\Program Files\Microsoft VS Code\bin;C:\Users\Deborah\AppData\Roaming\npm;C:\Program Files\Docker Toolbox;C:\Program Files\Java\jre1.8.0_151;C:\Program Files\Selenium\chromedriver.exe;C:\Program Files\MongoDB\Server\3.6\bin;C:\Program Files\Maven\apache-maven-3.5.3\bin;C:\MySQL\bin;C:\Users\Deborah\ngrok;C:\dep\bin;C:\Users\Deborah\AppData\Local\Programs\Python\Python36-32\Scripts;C:\kubeless;C:\Program Files (x86)\Kubernetes\Minikube;C:\Users\Deborah\AppData\Local\Yarn\bin;C:\Program Files\heroku\bin;C:\flutter\bin Before I added it manually, it simply wasn't there at all (i.e. no part of C:\Program Files (x86)\Kubernetes\Minikube; got added) |
@StarfallProjects Thanks for sharing! It looks like your PATH is now 1021 characters, which may cause future breakage as the normal methods for updating environment variables are capped at 1024. Anways, this is a bug and we can do better here. Thanks for opening this issue! |
FYI - I've encountered similar issue with |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Dupe of #2587 |
Faced this issue on m windows 7. Again, path not added. I added it manually and it works now. My doubt is haven't they fixed it yet? the bug is reported a year back. |
The term 'minikube' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the
I downloaded minikube.exe file and added it my systems path still this error is coming. |
Is this a BUG REPORT or FEATURE REQUEST? (choose one): Bug report
Environment:
Minikube version (use
minikube version
): 0.28.2What happened:
I had not previously installed minikube.
I downloaded and ran the Windows installer (minikube-installer.exe)
The installer ran, and various files were added to C:\Program Files (x86)\Kubernetes\Minikube
minikube.exe was not added to my PATH.
What you expected to happen:
I expected minikube to be automatically added to my PATH, as per the installtion guide:
How to reproduce it (as minimally and precisely as possible):
Download and run the installer on Windows 7, for a fresh install.
The text was updated successfully, but these errors were encountered: