Mise hang's on npm backend installs #4286
Replies: 2 comments
-
I ran into the same issue: installing the Typescript compiler, language server, and others via the NPM backend just hangs indefinitely. I also tried to switch the underlying backend to Bun but it still didn't work. Luckily, using Output of
|
Beta Was this translation helpful? Give feedback.
-
a while back this was caused by a issue that required (i.e. a workaround) that node was installed as a tool when using npm: I though that had been fixed but i cant find the original report. Could be worth a shot |
Beta Was this translation helpful? Give feedback.
-
When trying to install a package via mise's npm backend, the command hangs.
I've tested with cowsay, eas-cli, and supabase.
MISE_VERBOSE=1 mise use -g npm:supabase@latest
DEBUG ARGS: /opt/homebrew/opt/mise/bin/mise use -g npm:supabase@latest DEBUG config: ~/.config/mise/config.toml DEBUG install_some_versions: npm:supabase@latest DEBUG $ npm view supabase dist-tags --json
I thought it initially was npm that was hanging, but manually running npm view worked with no issues.
npm view supabase dist-tags --json
I tried with both bun integration on and off, with no luck.
I even tried
mise cache clear
, but still no luck.But, if I use mise to exec the package instead of installing it, it works.
Strangely enough, if I now try to install the package it works.
But, if I remove the package and clear the mise cache, it's back to being broken.
Also, the supabase package specifically just does not work with mise, be it exec or install.
MISE_VERBOSE=1 mise x npm:supabase@latest -- supabase --version
mise doctor
Beta Was this translation helpful? Give feedback.
All reactions