Frontmatter
| id | 7795 |
| title | Improve Windows compatibility in buildAll.mjs |
| state | Closed |
| labels | enhancementwindowsdeveloper-experienceai |
| assignees | tobiu |
| createdAt | Nov 18, 2025, 6:31 PM |
| updatedAt | Nov 18, 2025, 8:47 PM |
| githubUrl | https://github.com/neomjs/neo/issues/7795 |
| author | tobiu |
| commentsCount | 1 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Nov 18, 2025, 8:47 PM |

Description
The
buildScripts/buildAll.mjsscript currently usesspawnSync('node', ...)which may cause issues on Windows environments wherenode.exeis required. To ensure cross-platform compatibility, we should use a platform-aware command for the Node.js binary, similar to hownpmCmdis handled.Goal
Update
buildScripts/buildAll.mjsto dynamically determine the Node.js command (nodeornode.exe) based on the operating system.Acceptance Criteria
nodeCmdinbuildScripts/buildAll.mjsto handle Windows (node.exe) vs. other platforms (node).spawnSync('node', ...)calls withspawnSync(nodeCmd, ...).