Skip to content

node-sdk build failed in windows 11 #549

@todzhang

Description

@todzhang

What version of Kimi Code is running?

@moonshot-ai/kimi-code@0.11.0

Which open platform/subscription were you using?

pnpm run build in node-sdk directory

Which model were you using?

kimi-k2.6

What platform is your computer?

x64

What issue are you seeing?

│ > node scripts/build-dts.mjs
│ node:internal/child_process:441
│ throw new ErrnoException(err, 'spawn');
│ ^
│ Error: spawn EINVAL
│ at ChildProcess.spawn (node:internal/child_process:441:11)
│ at spawn (node:child_process:796:9)
│ at file:///D:/temp/openclaw/kimi-code/packages/node-sdk/scripts/build-dts.mjs:39:19
│ at new Promise ()
│ at run (file:///D:/temp/openclaw/kimi-code/packages/node-sdk/scripts/build-dts.mjs:38:10)
│ at file:///D:/temp/openclaw/kimi-code/packages/node-sdk/scripts/build-dts.mjs:30:9 {
│ errno: -4071,
│ code: 'EINVAL',
│ syscall: 'spawn'
│ }
│ Node.js v24.16.0
│  ELIFECYCLE  Command failed with exit code 1.
└─ Failed in 4.1s at D:\temp\openclaw\kimi-code\packages\node-sdk

What steps can reproduce the bug?

checkout code on windows 11, and run pnpm run build

What is the expected behavior?

build success.

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions