Skip to content

Install Node with opencode, qwen, ghui and playwright on their first run - #18550

Merged
omarchybot merged 2 commits into
quattrofrom
mise-npm-tools-install-node
Nov 16, 2026
Merged

omarchybot merged 2 commits into
quattrofrom
mise-npm-tools-install-node

Conversation

@omarchybot

Copy link
Copy Markdown
Collaborator

On a fresh install, the first opencode fails at once while the machine is online, and installs nothing:

mise ERROR Failed to install npm:@opencode/cli@latest: failed to resolve configured install dependency 'node@latest' for 'opencode@latest' while offline

The tds layout's bottom-right pane is where most people meet it first, and qwen, ghui and playwright fail the same way until someone runs mise install node by hand.

Node has been a lazy tool since #15876, and these four are registry shorthands whose first backend is npm and whose registry entry lists their commands. When their shim runs, mise installs that registry tool on its own instead of taking the lazy install, which would bring the missing lazy Node with it, and npm's install refuses without Node. The explicit npm: keys (cf, kimi, dsh and the rest) and amp, whose registry entry lists no command, already take the lazy install and work. mise's docs promise a lazy tool's first command installs what it depends on, so the bug is mise's; this works around it until mise takes the lazy install for these.

This lists the four in auto_install_disable_tools in the [settings] of etc/mise/conf.d/omarchy-tools.toml, beside their declarations rather than in omarchy.toml, so it leaves with them when a user opts out of the default tools instead of keeping a tool the user declares themselves from installing. Their first command then takes the lazy install, which installs Node with them. auto_update, mise exec and mise install --include-lazy do not read the setting. agents/skills/mise-tools.md says when a tool belongs in the list, and the list comes out in one line once mise is fixed. A sweep of every shorthand in the file against mise 2026.11.6's registry finds exactly these four.

Limits, accepted:

  • A user's own auto_install_disable_tools replaces this list rather than adding to it, so for that user the first run fails as it does today.
  • A pinned version of one of the four that is not installed no longer installs from its command; mise prints mise install as the thing to run.
  • The setting is by tool name, so it also covers a project's own declaration of one of the four: mise x or a task there that used to install it on demand now asks for mise install.
  • mise install opencode while Node is missing still fails, as today: mise's named install never adds a tool's lazy dependencies. omarchy-default-agent already installs Node with an npm agent (Add every coding agent and provider to the agents panel and the default agent #14040).
  • freebuff's first run fails for an unrelated reason (a trust downgrade in its published release), left for its own fix.

On a worker built from the Omarchy ISO, with mise 2026.11.6: on quattro, after mise uninstall --all node, opencode --version and qwen --version fail with the error above. With this file, each of the four, after mise uninstall --all node <tool>, installs Node and the tool and prints its version (opencode v2.2.7, qwen 0.27.2, ghui 0.9.1, playwright 1.65.0).

Found by Prime's QA pass, whose diagnosis and approach this follows.

🤖 Generated by Opus 5.5 in Claude Code. Reviewed by Codex Medium and muse-wonder via pi, thinking high.

dhh and others added 2 commits November 11, 2026 22:52
mise's shim installs a registry tool whose first backend is npm on its own, before the lazy install that would bring the lazy Node it needs, so the first run of these four fails with "failed to resolve configured install dependency 'node@latest' ... while offline". Keeping them out of the shim's automatic install sends their first command through the lazy install instead.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
In omarchy.toml it would outlive an opt-out of the default tools and keep a user's own declaration of one of these tools from installing on its first command.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: muse-wonder via pi, thinking high <noreply@meta.com>
@greptile-apps

greptile-apps Bot commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The PR appears safe to merge.

Summary

Routes first-run installation of ghui, opencode, playwright, and qwen through mise’s lazy install so Node installs with them.

  • First runs of opencode, qwen, ghui, and playwright install Node too.

Reviews (1) · Last reviewed commit: "Say why the auto-install list lives with..." · Reviewed by Greptile

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants