From 8a3ac04138ef46801e11ebec60728ee9175b69b9 Mon Sep 17 00:00:00 2001 From: MicrogGrey Date: Mon, 8 Jun 2026 21:24:48 +0800 Subject: [PATCH] fix(dev): use shell on Windows to avoid EINVAL when spawning tsx.cmd Node.js v24 requires shell: true on Windows to spawn .cmd executables. Without it, spawn throws EINVAL and the dev CLI cannot start. Co-Authored-By: Claude Opus 4.8 --- apps/kimi-code/scripts/dev.mjs | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/kimi-code/scripts/dev.mjs b/apps/kimi-code/scripts/dev.mjs index 5bf5d460a..1aba342e9 100644 --- a/apps/kimi-code/scripts/dev.mjs +++ b/apps/kimi-code/scripts/dev.mjs @@ -28,6 +28,7 @@ const child = spawn( cwd: APP_ROOT, env, stdio: 'inherit', + shell: process.platform === 'win32', }, );