Troubleshooting
Symptom first, cause second, in the order the lab and the documentation suggest you check them.
The wrong version runs
You are standing in the project, the pin
says 20, and node --version says
something else entirely.
- You are not using mise's answer at
all. No shims on
PATH, no activation, and your shell found a system Node first.which nodeshows whose binary answered; chapter 10 is the fix, in any of its three flavours. - Another config speaks louder.
mise configlists every file in play. A pin in a parent folder, or a global you set and forgot, may be the nearer voice (chapter 6's rules). - An override is exported.
MISE_NODE_VERSION(and kin) beat the files.env | grep MISE_shows them; unset and the haunting ends. - The program was already running. Shims and activation decide at launch. Restart the editor or terminal that started before the pin changed.
"Config files are not trusted"
Mise refuses parts of a project's config — the lab's own welcome to the fixture projects (transcript t11).
The config carries [env], tasks or
hooks, and mise did not write it and has
never been shown it. Read the file —
really read it, it is about to run
commands on your machine — then
mise trust in the project folder.
Pure [tools] pins never trigger this;
if a tools-only project shows it, the
file contains more than pins, which is
itself the thing worth knowing.
The tool is not found after installing
mise ls shows it; the shell says
command not found.
- Nothing connects the shell to the
shelf yet. Installs alone do not
change your
PATH. Add the shims folder or activate (chapter 10), or run the tool throughmise exec. - The tool's name is not its command.
Ripgrep installs as the tool
ripgrepand runs asrg.mise which rg— ask for the command name — finds it;mise lsshows the tool name. - The shell cached the old world.
Long-lived shells remember where
commands were (bash's
hash). A new terminal, orhash -r, clears it.
A task is missing from the listing
mise tasks does not show a task you
can see in the folder.
- The file task is not executable.
File tasks in
mise-tasks/needchmod +x; without it they are silently absent — no error, just not there. The lab learned this one personally. - The config is untrusted. Tasks in
an untrusted
mise.tomldo not run and may not list; see the trust entry above. - You are in the wrong folder. Tasks
belong to the project whose config
defines them;
mise tasksanswers for here.
An install fails or crawls
Downloads stall, or a build runs for many minutes.
- The tool compiles. Some backends build from source (chapter 14): minutes are normal, and the failure at the end is a missing compiler or library, named in the build output — a machine problem, not a mise problem.
- The version does not exist.
mise ls-remote <tool>shows what does. A typo in a pin ("2O" with a letter O has happened to everyone) reads exactly like a missing release. - The shelf is confused. Rare, and
blunt instruments work:
mise uninstall <tool>@<version>, thenmise installagain. Downloads are cached, so the second trip is usually quick.
Two managers, one tool
An old nvm/pyenv/asdf setup and mise both claim the same command.
Shells resolve commands by PATH order,
and startup files append in the order
they run. Decide which manager owns the
tool, remove the other's claim (its
activation lines in your shell's startup
are the usual place), and let chapter 5's
legacy support carry the old project's
files. Running both is not wrong, but
running both unknowingly is where
haunted versions come from.