Skip to content

opencode desktop(windows) load superpowers failed because of fails to load plugins: tries to install @opencode-ai/plugin@local, which is not a published npm version #38271

Closed as not planned

Description

@yangguoquan001

Description

superpowers is a famous skill series: https://github.com/obra/superpowers.
Even after registry it as a plugin in opencode.json:
"plugin": ["~/.config/opencode/node_modules/superpowers"]
opencode desktop still can not find these skill.
Here is the reason:

  1. @opencode-ai/plugin is a valid npm package (npm view @opencode-ai/plugin version dist-tags returns latest: 1.18.4), but it has no version or dist-tag called local. So a request for @opencode-ai/plugin@local always fails.
  2. OpenCode Desktop requests exactly that — @opencode-ai/plugin@local — as part of the plugin dependency install on every startup. Since local is not a real version, it looks like a placeholder that was never resolved to a real version number before being handed to the installer.
  3. This failed @opencode-ai/plugin@local dependency is part of plugin dependency preparation, so plugins loaded through the Bun install path (npm package names / git specs in the plugin array) fail to install and never load.

Below are logs on every startup:
timestamp=2026-07-22T07:26:00.858Z level=WARN run=d9472c0e message="background dependency install failed" dir="C:\Users\\.config\opencode" error="Cause([Fail(NpmInstallFailedError (cause: @opencode-ai/plugin: No matching version found for @opencode-ai/plugin@local.))])"
timestamp=2026-07-22T07:26:01.342Z level=WARN run=d9472c0e message="background dependency install failed" dir="C:\Users\\.config\opencode" error="Cause([Fail(NpmInstallFailedError (cause: @opencode-ai/plugin: No matching version found for @opencode-ai/plugin@local.))])"
timestamp=2026-07-22T07:26:11.774Z level=WARN run=d9472c0e message="background dependency install failed" dir="C:\Users\\.config\opencode" error="Cause([Fail(NpmInstallFailedError (cause: @opencode-ai/plugin: No matching version found for @opencode-ai/plugin@local.))])"

Plugins

~/.config/opencode/node_modules/superpowers

OpenCode version

1.18.4

Steps to reproduce

  1. Add a plugin to the global config, e.g.:
    {
    "plugin": ["superpowers@git+https://github.com/obra/superpowers.git"]
    }
  2. Restart OpenCode.
  3. The plugin does not load. The log shows a repeated @opencode-ai/plugin@local install failure on every startup.

Screenshot and/or share link

No response

Operating System

Windows10

Terminal

No response

Activity

  1. github-actions commented on Jul 22, 2026

    @github-actions
    Contributor

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

  2. github-actions commented on Sep 22, 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