Skip to content

Desktop: background dependency install failed - @opencode-ai/plugin@local version not found #30197

Closed as not planned

Description

Description

opencode desktop fails to install dependencies on startup with the following error:

WARN  service=config dir=C:\Users\xX201\.config\opencode error=Cause([Fail(NpmInstallFailedError (cause: @opencode-ai/plugin: No matching version found for @opencode-ai/plugin@local.))]) background dependency install failed

Environment

  • opencode desktop version: 1.15.13
  • OS: Windows
  • Config file: ~/.config/opencode/opencode.jsonc

Config

{
  "$schema": "https://opencode.ai/config.json",
  "plugin": [],
  "mcp": {
    "Github": {
      "type": "remote",
      "url": "https://api.githubcopilot.com/mcp/",
      "enabled": true,
      "headers": {
        "Authorization": "Bearer {env:GITHUB_PAT}"
      }
    }
  }
}

Analysis

The plugin array is empty, but opencode still tries to install @opencode-ai/plugin@local. The @local version does not exist on npm. This appears to be an internal dependency resolution issue in the desktop build.

Workaround

Setting these environment variables bypasses the error:

  • OPENCODE_DISABLE_DEFAULT_PLUGINS=1
  • OPENCODE_PURE=1

Activity

  1. github-actions commented on Jun 1, 2026

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

  2. github-actions commented on Aug 1, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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