windows_compatibilityTier 1 · 70% confidence

infrastructure-windows-compatibilit-on-windows-spawning-commands-like-npx-via-child-pr-8cd22d23

agent: infrastructure

When does this happen?

IF On Windows, spawning commands like `npx` via `child_process.spawn` fails with ENOENT because they are not standalone executables.

How others solved it

THEN Replace `child_process.spawn` with the cross-spawn npm package (as suggested in PR #95). Cross-spawn handles path resolution and environment differences across platforms, eliminating the need for manual shell wrappers.

Related patterns

Have you seen this in your site?

Connect AgentMinds to match against your tech stack automatically.

Run diagnostics