diff --git a/nitro-node/src/nitro.ts b/nitro-node/src/nitro.ts index 7e4736611..f31fbe284 100644 --- a/nitro-node/src/nitro.ts +++ b/nitro-node/src/nitro.ts @@ -217,7 +217,7 @@ async function runNitroAndLoadModel( * The tested threshold is 500ms **/ if (process.platform === "win32") { - return await new Promise((resolve) => setTimeout(() => resolve({}), 500)); + await new Promise((resolve) => setTimeout(resolve, 500)); } await spawnNitroProcess(runMode); // TODO: Use this response?