Skip to content

[Bug] Startup Warning: NpmInstallFailedError for @opencode-ai/plugin@local #37024

Closed as not planned

Description

@DarkCrow7

Description:
When launching OpenCode, the background dependency installation fails repeatedly. The startup logs indicate that npm is attempting to install @opencode-ai/plugin@local, but the registry cannot find a matching version for the @Local tag. This warning is triggered in both the global configuration directory and the local workspace directory.

Expected Behavior:
OpenCode should successfully resolve and install the required background dependencies on startup without throwing NpmInstallFailedError warnings, or it should handle local plugin resolutions gracefully if @Local is an internal placeholder.

Actual Behavior:
The startup process generates multiple WARN logs for background dependency installation failures.

level=WARN run=c3c4f253 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.))])"

level=WARN run=c3c4f253 message="background dependency install failed" dir="C:\Users\\Documents\CommentsProject\.opencode" error="Cause([Fail(NpmInstallFailedError (cause: @opencode-ai/plugin: No matching version found for @opencode-ai/plugin@local.))])"

Environment:

OS: Windows

Application: OpenCode

Activity

  1. github-actions commented on Jul 15, 2026

    @github-actions
    Contributor

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

    Please review these issues and consider adding any additional context there rather than opening a new report. If your situation differs significantly from those, feel free to clarify what makes it distinct.

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