Running opencode.exe on win returns erro #441

Closed
opened 2026-02-16 17:26:43 -05:00 by yindo · 3 comments
Owner

Originally created by @Gfdcvn on GitHub (Jul 2, 2025).

Originally assigned to: @thdxr on GitHub.

Running the opencode.exe file from the releases returned: Error: Unexpected error, check log file at C:\Users\richa\.local\share\opencode\log\2025-07-02T113833.log for more details

The log returns:

INFO 2025-07-02T11:38:33 +81ms service=default version=0.1.174 args= opencode INFO 2025-07-02T11:38:33 +3ms service=app cwd=C:\Users\richa\Downloads\opencode-windows-x64 creating INFO 2025-07-02T11:38:33 +1ms service=app git INFO 2025-07-02T11:38:33 +7ms service=bus type=storage.write subscribing INFO 2025-07-02T11:38:33 +0ms service=app name=bus registering service INFO 2025-07-02T11:38:33 +1ms service=format init INFO 2025-07-02T11:38:33 +0ms service=bus type=file.edited subscribing INFO 2025-07-02T11:38:33 +0ms service=config.hooks init INFO 2025-07-02T11:38:33 +0ms service=bus type=file.edited subscribing INFO 2025-07-02T11:38:33 +0ms service=bus type=session.idle subscribing INFO 2025-07-02T11:38:33 +0ms service=app name=lsp registering service INFO 2025-07-02T11:38:33 +0ms service=lsp initializing INFO 2025-07-02T11:38:33 +3ms service=app name=file.watcher registering service INFO 2025-07-02T11:38:33 +2ms service=app name=provider registering service INFO 2025-07-02T11:38:33 +1ms service=app name=config registering service INFO 2025-07-02T11:38:33 +3ms service=config loaded INFO 2025-07-02T11:38:33 +2ms service=models.dev refreshing INFO 2025-07-02T11:38:33 +0ms service=provider init INFO 2025-07-02T11:38:33 +6ms service=app name=lsp shutdown ERROR 2025-07-02T11:38:37 +3954ms service=default name=Error message=Executable not found in $PATH: "unzip" fatal ERROR 2025-07-02T11:38:37 +1ms service=default e=Executable not found in $PATH: "unzip" rejection

Originally created by @Gfdcvn on GitHub (Jul 2, 2025). Originally assigned to: @thdxr on GitHub. Running the opencode.exe file from the releases returned: `Error: Unexpected error, check log file at C:\Users\richa\.local\share\opencode\log\2025-07-02T113833.log for more details` The log returns: `INFO 2025-07-02T11:38:33 +81ms service=default version=0.1.174 args= opencode INFO 2025-07-02T11:38:33 +3ms service=app cwd=C:\Users\richa\Downloads\opencode-windows-x64 creating INFO 2025-07-02T11:38:33 +1ms service=app git INFO 2025-07-02T11:38:33 +7ms service=bus type=storage.write subscribing INFO 2025-07-02T11:38:33 +0ms service=app name=bus registering service INFO 2025-07-02T11:38:33 +1ms service=format init INFO 2025-07-02T11:38:33 +0ms service=bus type=file.edited subscribing INFO 2025-07-02T11:38:33 +0ms service=config.hooks init INFO 2025-07-02T11:38:33 +0ms service=bus type=file.edited subscribing INFO 2025-07-02T11:38:33 +0ms service=bus type=session.idle subscribing INFO 2025-07-02T11:38:33 +0ms service=app name=lsp registering service INFO 2025-07-02T11:38:33 +0ms service=lsp initializing INFO 2025-07-02T11:38:33 +3ms service=app name=file.watcher registering service INFO 2025-07-02T11:38:33 +2ms service=app name=provider registering service INFO 2025-07-02T11:38:33 +1ms service=app name=config registering service INFO 2025-07-02T11:38:33 +3ms service=config loaded INFO 2025-07-02T11:38:33 +2ms service=models.dev refreshing INFO 2025-07-02T11:38:33 +0ms service=provider init INFO 2025-07-02T11:38:33 +6ms service=app name=lsp shutdown ERROR 2025-07-02T11:38:37 +3954ms service=default name=Error message=Executable not found in $PATH: "unzip" fatal ERROR 2025-07-02T11:38:37 +1ms service=default e=Executable not found in $PATH: "unzip" rejection `
yindo closed this issue 2026-02-16 17:26:43 -05:00
Author
Owner

@zetomatoz commented on GitHub (Jul 2, 2025):

I also observe the same issue on Windows 11

@zetomatoz commented on GitHub (Jul 2, 2025): I also observe the same issue on Windows 11
Author
Owner

@thdxr commented on GitHub (Jul 3, 2025):

closing in favor of #631

@thdxr commented on GitHub (Jul 3, 2025): closing in favor of #631
Author
Owner

@tienomeis commented on GitHub (Jul 16, 2025):

For reference:
This happens when using Windows cmd or Powershell.
The exe file can be executed successfully in bash, e.g. using MinGW like bundled with the Windows Git client.

@tienomeis commented on GitHub (Jul 16, 2025): For reference: This happens when using Windows cmd or Powershell. The exe file can be executed successfully in bash, e.g. using MinGW like bundled with the Windows Git client.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#441