Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

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

Open
#67 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
65/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
bun, typescript
Domain
cli, tooling

Research direction

The issue is about a plugin installation failure in OpenCode v2. Start by examining the opencode.json configuration and the error log indicating an npm install failure. Look at the plugin's installation script or package.json to see how it integrates with OpenCode v2. Check if there are existing tests for plugin installation or any recent changes to the OpenCode v2 plugin system.

Written by the indexing model from the issue text.

Description

bug

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
Dominant language
TypeScript
Stars
594
Forks
61
Avg merge
13h 20m
Merged PRs (30d)
2

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from shekohex/opencode-pty

All issues in shekohex/opencode-pty

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.