Skip to content

[Bug]: The plugin cannot be installed to opencode v2 #67

Description

@flben233

Expected Behavior

The plugin is installed to opencode v2 successfully.

Actual Behavior

I add the plugin to opencode.json and it told me the installation failed. Check the log below.

Environment

  • OS: Windows 11
  • OpenCode Version: 2.0.14
  • Plugin Version: latest

OpenCode Configuration

opencode.json (sanitized)
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {...},
  "plugins": ["superpowers@git+https://github.com/obra/superpowers.git", "opencode-pty/v2"]
}

Debug Logs

Click to expand debug logs
timestamp=2026-09-23T05:13:27.176Z level=WARN run=14923000 message="failed to load plugin" target=opencode-pty/v2 ref=err_294b60db cause="Cause([Fail(NpmInstallFailedError (cause: Error: An unknown git error occurred))])" http.span=454666 role=server

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions