Install of cm-push fails on Windows 11
pcgeek86 opened this issue · 7 comments
I can't successfully install this plugin on Windows 11. See errors below.
C:\Users\TrevorSullivan> helm plugin install https://github.com/chartmuseum/helm-push
Downloading and installing helm-push v0.10.2 ...
https://github.com/chartmuseum/helm-push/releases/download/v0.10.2/helm-push_0.10.2_windows_amd64.tar.gz
mv: can't rename 'releases/v0.10.2/bin/helm-cm-push': No such file or directory
Installed plugin: cm-push
C:\Users\TrevorSullivan> helm cm-push
Error: exec: "C:\\Users\\TrevorSullivan\\AppData\\Roaming\\helm\\plugins\\helm-push/bin/helm-cm-push": file does not exist
Hey, @pcgeek86, I am going to look into this. Thank you for letting us know
Please after investigation @pcgeek86 , I can see that it works well on windows 11. I have tested it on my end. My suggestion is that you upgrade helm and try again. Thank you
C:\Users\vagrant>helm version
version.BuildInfo{Version:"v3.8.0", GitCommit:"d14138609b01886f544b2025f5000351c9eb092e", GitTreeState:"clean", GoVersion:"go1.17.5"}
Hello, Please use git bash to do this, I am not certain why it doesn't work but try doing the same thing from Git bash
Hello guys!
I'm trying to use Git Bash, and I'm facing the same issue
Could someone advise?
Thank you in advance
UPD: manually downloaded bin file from release and checked what does install_plugin.sh do. Then manually did all steps from script, and now it looks like helm cm-push --help
works from my side:
I guess, the issue is in script that works as not as expected: it makes wrong directory during the execution:
I hit this issue too, the easiest way to solve it is:
set PATH=%ProgramFiles%\Git\bin;%PATH%
helm plugin uninstall cm-push
helm plugin install https://github.com/chartmuseum/helm-push
The issue is that often the PATH
does not contain %ProgramFiles%\Git\bin
but only %ProgramFiles%\Git\cmd
. The latter does not contain sh.exe
.
Hope this helps.
I hit this issue too, the easiest way to solve it is:
set PATH=%ProgramFiles%\Git\bin;%PATH% helm plugin uninstall cm-push helm plugin install https://github.com/chartmuseum/helm-pushThe issue is that often the
PATH
does not contain%ProgramFiles%\Git\bin
but only%ProgramFiles%\Git\cmd
. The latter does not containsh.exe
.Hope this helps.
This workaround worked for me