Skip to content

Windows 11: "Failed to reload <project> – UnexpectedStatus" after updating to Desktop v1.18.5 + repeated @opencode-ai/plugin@local install failures #38810

Description

@SalamehIbrahim

Environment

OS:** Windows 11 (64-bit)
OpenCode Desktop:** v1.18.5
nstallation:** Official Windows NSIS installer
Download:** https://opencode.ai/download/stable/windows-x64-nsis
Update method:** Built-in auto-update from a previous version


Image

Log Output.txt

Description

After updating to OpenCode Desktop v1.18.5, every time the application starts it displays the following dialog:

Failed to reload <project-name> opencode

UnexpectedStatus

The project name changes depending on the last opened workspace (for example al-azan), but the issue is not project-specific.

The application continues to run after dismissing the dialog.


Steps to Reproduce

  1. Install OpenCode Desktop using the official installer.
  2. Update to v1.18.5 using the built-in updater.
  3. Launch OpenCode.

Actual Result

A dialog appears on every startup:

Failed to reload <project-name> opencode

UnexpectedStatus

The application still works afterward.


Expected Result

No error dialog should appear when launching the application.


Additional Investigation

I performed the following troubleshooting steps:

  • Created a completely new project.
  • The same dialog appears.
  • Renamed the user configuration directory:
C:\Users\<user>\.config\opencode
  • OpenCode recreated a fresh configuration directory automatically.
  • The new opencode.jsonc only contains:
{
  "$schema": "https://opencode.ai/config.json"
}
  • The issue still occurs.
  • %APPDATA% and %LOCALAPPDATA% do not contain any relevant cached OpenCode data that resolves the problem.
  • The problem is not related to a specific Git repository.

Log Output

The log repeatedly contains:

background dependency install failed

NpmInstallFailedError

@opencode-ai/plugin:
No matching version found for @opencode-ai/plugin@local

This message is repeated multiple times during startup.


Impact

The application is still usable (agents can create files and execute tasks normally), but the error dialog appears on every startup and the repeated plugin installation failures suggest something is wrong during initialization.


Question

Is this a known regression in Desktop v1.18.5?

Is there a workaround until a fix is released?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions