Skip to content

Log noise: startup repeatedly tries to install @opencode-ai/plugin@local, which does not exist on npm #40443

Closed as not planned

Description

@ChubbyBoySlim

Description

Log noise: startup repeatedly tries to install @opencode-ai/plugin@local, which does not exist on npm

Summary

Every startup logs a background dependency install failed warning several times, because it tries to install @opencode-ai/plugin at version local. That version is not published on npm, so the install can never succeed.

Nothing appears to break — local plugins still load and run — so this looks like log noise rather than a functional bug. Filing in case the version string is meant to be substituted at build time and this indicates a packaging slip.

Environment

  • Version 1.18.11 (opencode-1.18.11-1.x86_64), Linux RPM from https://opencode.ai/download/stable/linux-x64-rpm
  • Fedora Linux 43

Log output

From ~/.local/share/opencode/log/opencode.log, 39 occurrences across the runs I have:

level=WARN message="background dependency install failed" dir=/home/<user>/.config/opencode
error="Cause([Fail(NpmInstallFailedError (cause: @opencode-ai/plugin: No matching version found for @opencode-ai/plugin@local.))])"

It appears 4 times per startup in 8 of the 9 runs in my log (7 in the remaining one), 39 total.

Why it can never succeed

@opencode-ai/plugin is published, and the version matching this build exists:

$ curl -s https://registry.npmjs.org/@opencode-ai%2Fplugin | jq '.versions | has("1.18.11"), has("local")'
true
false

latest is currently 1.18.13. There is no local dist-tag or version.

Impact

Apparently none. A local plugin in ~/.config/opencode/plugins/ loads and its event hook fires normally despite the warning, so plugin loading is not blocked.

Things I tried

Creating ~/.config/opencode/package.json with {"dependencies": {"@opencode-ai/plugin": "1.18.11"}} did not change the behaviour — the requested version stayed local. I removed that file afterwards, so it is not present in the state described above.

Expected

Either the version is resolved to a published one at build time, or the install is skipped when no plugin actually requires the package.

OpenCode version

Opencode Desktop 1.18.11

Operating System

Fedora 43 KDE

Activity

  1. github-actions commented on Aug 4, 2026

    @github-actions
    Contributor

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

  2. github-actions commented on Oct 5, 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