diff --git a/mise.toml b/mise.toml index c30c4d4109e..3a53e04c03c 100644 --- a/mise.toml +++ b/mise.toml @@ -72,7 +72,12 @@ lazygit = "0.61.1" # module's `command -v devcontainer` short-circuit fires "npm:@devcontainers/cli" = "0.87.0" # Vercel CLI for deploying/previewing projects from dogfood workspaces. -vercel = "54.14.0" +# Restricted to Linux/macOS because mise installs this through `npm:vercel`, +# which spawns `node install.js` from cmd.exe on Windows. mise's `node` lives +# only in the shim dir at install time, so `node` is not on PATH and the +# install fails with `'node' is not recognized` (coder/internal#1596). The +# CLI is only needed in dogfood workspaces, which are Linux. +vercel = { version = "54.14.0", os = ["linux", "macos"] } # weekly-docs uses this pinned Puppeteer browser installer to install Chrome for # action-linkspector without resolving mutable npm metadata at runtime. "npm:@puppeteer/browsers" = "2.13.0"