packages/kernel/runtime-deno-subprocess/src/index.ts tries to find a locally installed Deno binary by checking HOME:
const home = process.env.HOME?.trim();
const installedPath = `${home}/.deno/bin/deno`;
On Windows, HOME is usually unset. The correct env var is USERPROFILE, and Deno installs to %USERPROFILE%\.deno\bin\deno.exe (with .exe).
Fix: fall back to USERPROFILE and use the correct Windows path.
Fixed in: packages/kernel/runtime-deno-subprocess/src/index.ts
Identified and fixed with AI assistance.
packages/kernel/runtime-deno-subprocess/src/index.tstries to find a locally installed Deno binary by checkingHOME:On Windows,
HOMEis usually unset. The correct env var isUSERPROFILE, and Deno installs to%USERPROFILE%\.deno\bin\deno.exe(with.exe).Fix: fall back to
USERPROFILEand use the correct Windows path.Fixed in:
packages/kernel/runtime-deno-subprocess/src/index.tsIdentified and fixed with AI assistance.