-
Notifications
You must be signed in to change notification settings - Fork 52
Closed
Description
I have go1.24.0 installed. When I tried to install go1.24.1, I got this error:
[go1.24.1.windows-amd64.zip] ███████████████████████ [83.14/83.14 MB] 100% 9.9s
Press "q" to quit.
INFO Extracting files, please wait...
expand: unknown option -- r
Try '/usr/bin/expand --help' for more information.
ERROR Extract file failed: reading file in zip archive: file already exists: C:\Users\ross\.vmr\temp\go\CONTRIBUTING.md.
This is because I have GitBash's bin directory before Windows' system32 directory in my path, so it's calling GitBash's expand
, not Windows':
>where expand
C:\Windows\System32\expand.exe
C:\Program Files\Git\usr\bin\expand.exe
When I ran:
set "PATH=C:\Windows\System32;%PATH%"
it worked fine.
Perhaps vmr could do this for the user, if they are running a non-standard PATH as I am?
Metadata
Metadata
Assignees
Labels
No labels