You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
cli: TUI plugin installation fails with NpmInstallFailedError #58514
The plugin does not appear in opencode plugin list.
The failure reproduced after reload and during a bounded debug startup. Direct npm metadata queries and dependency dry-run resolution succeeded, but OpenCode did not expose the underlying npm stderr.
Additional Context
The plugin package is publicly available and declares compatible engines:
Node >=24 <25
OpenCode >=1.17.11
Node 24.20.0 and npm 11.19.0 are installed.
No project-local OpenCode configuration is involved.
A duplicate legacy TUI declaration was removed; the failure persists with only the V2 CLI declaration.
Earlier logs also showed intermittent network timeouts for unrelated OpenCode external fetches.
No credentials or secrets are included in this report.
Thanks for the report! I think this is a duplicate of #50080. It covers the same package (opencode-sdd-engram-manage) set as a bare name, which resolves to @latest. That fails plugin reconciliation at stage=prepare with an NpmInstallFailedError whose message is empty. The real cause, unable to resolve dependency tree at Npm.reify, only appears when you run opencode plugin add opencode-sdd-engram-manage directly. System npm installs the package fine.
Possible duplicates and related issues, ordered by likelihood:
Workaround reported in #50080: pin an exact version in your CLI plugin list, e.g. "[email protected]". You can also run opencode plugin add [email protected], which installs through the same code path.
A short comment on #50080 saying it still happens on 2.1.4 (Linux) would help. The bot will close this issue as a duplicate in 1 day unless you reply explaining how your problem is different.
Closing this as a duplicate of #50080, since there's been no reply in the past day explaining how it's different. #50080 covers the same failure: opencode-sdd-engram-manage set as a bare name (@latest) fails reconciliation at stage=prepare with an empty NpmInstallFailedError. The cause is unable to resolve dependency tree at Npm.reify. Until it's fixed, pinning an exact version (e.g. "[email protected]") works around it. Please follow #50080 for updates. A short comment there saying it still happens on 2.1.4 (Linux) would help. If your problem turns out to be different, reply here and we can reopen. Thanks for the detailed report!
Activity
opencode-agent commentedon Oct 23, 2026
Thanks for the report! I think this is a duplicate of #50080. It covers the same package (
opencode-sdd-engram-manage) set as a bare name, which resolves to@latest. That fails plugin reconciliation atstage=preparewith anNpmInstallFailedErrorwhose message is empty. The real cause,unable to resolve dependency treeatNpm.reify, only appears when you runopencode plugin add opencode-sdd-engram-managedirectly. System npm installs the package fine.Possible duplicates and related issues, ordered by likelihood:
stage=prepareNpmInstallFailedErrorfor this plugin during startup reconciliation; closed as a duplicate of plugin install: TUI plugin fails with empty NpmInstallFailedError — resolver rejects a spec npm installs fine #50080.Invalid V2 TUI plugin moduleerror; closed as a duplicate of plugin install: TUI plugin fails with empty NpmInstallFailedError — resolver rejects a spec npm installs fine #50080.Workaround reported in #50080: pin an exact version in your CLI plugin list, e.g.
"[email protected]". You can also runopencode plugin add [email protected], which installs through the same code path.A short comment on #50080 saying it still happens on 2.1.4 (Linux) would help. The bot will close this issue as a duplicate in 1 day unless you reply explaining how your problem is different.
opencode-agent commentedon Oct 24, 2026
Closing this as a duplicate of #50080, since there's been no reply in the past day explaining how it's different. #50080 covers the same failure:
opencode-sdd-engram-manageset as a bare name (@latest) fails reconciliation atstage=preparewith an emptyNpmInstallFailedError. The cause isunable to resolve dependency treeatNpm.reify. Until it's fixed, pinning an exact version (e.g."[email protected]") works around it. Please follow #50080 for updates. A short comment there saying it still happens on 2.1.4 (Linux) would help. If your problem turns out to be different, reply here and we can reopen. Thanks for the detailed report!