LearnNewsExamplesServices
Frontmatter
id7795
titleImprove Windows compatibility in buildAll.mjs
stateClosed
labels
enhancementwindowsdeveloper-experienceai
assigneestobiu
createdAtNov 18, 2025, 6:31 PM
updatedAtNov 18, 2025, 8:47 PM
githubUrlhttps://github.com/neomjs/neo/issues/7795
authortobiu
commentsCount1
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtNov 18, 2025, 8:47 PM

Improve Windows compatibility in buildAll.mjs

Closed v11.5.0 enhancementwindowsdeveloper-experienceai
tobiu
tobiu commented on Nov 18, 2025, 6:31 PM

Description

The buildScripts/buildAll.mjs script currently uses spawnSync('node', ...) which may cause issues on Windows environments where node.exe is required. To ensure cross-platform compatibility, we should use a platform-aware command for the Node.js binary, similar to how npmCmd is handled.

Goal

Update buildScripts/buildAll.mjs to dynamically determine the Node.js command (node or node.exe) based on the operating system.

Acceptance Criteria

  1. Define nodeCmd in buildScripts/buildAll.mjs to handle Windows (node.exe) vs. other platforms (node).
  2. Replace all hardcoded spawnSync('node', ...) calls with spawnSync(nodeCmd, ...).
tobiu added the enhancement label on Nov 18, 2025, 6:31 PM
tobiu added the windows label on Nov 18, 2025, 6:31 PM
tobiu added the developer-experience label on Nov 18, 2025, 6:31 PM
tobiu added the ai label on Nov 18, 2025, 6:31 PM
tobiu assigned to @tobiu on Nov 18, 2025, 8:47 PM
tobiu
tobiu Nov 18, 2025, 8:47 PM

already resolved

tobiu closed this issue on Nov 18, 2025, 8:47 PM