anomalyco / anomalyco/opencode
Log noise: startup repeatedly tries to install @opencode-ai/plugin@local, which does not exist on npm
@jlongster is already working on this.
Since Aug 4, 2026.
- Dominant language
- TypeScript
- Stars
- 209k
- Forks
- 27.5k
- PR merge metrics
- PR metrics pending
Description
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 fromhttps://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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.