Skip to content

Commit ad6ea75

Browse files
committed
Fixing Windows, using npx
1 parent 2a3cab2 commit ad6ea75

File tree

3 files changed

+19
-14
lines changed

3 files changed

+19
-14
lines changed

package-lock.json

Lines changed: 15 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,9 @@
3232
"client": "tsx src/cli.ts client"
3333
},
3434
"dependencies": {
35+
"@types/cross-spawn": "^6.0.6",
3536
"content-type": "^1.0.5",
37+
"cross-spawn": "^7.0.6",
3638
"raw-body": "^3.0.0",
3739
"zod": "^3.23.8"
3840
},

src/client/stdio.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
import { ChildProcess, IOType, spawn } from "node:child_process";
1+
import { ChildProcess, IOType } from "node:child_process";
2+
import spawn from "cross-spawn";
23
import process from "node:process";
34
import { ReadBuffer, serializeMessage } from "../shared/stdio.js";
45
import { JSONRPCMessage } from "../types.js";

0 commit comments

Comments
 (0)