Skip to content

[Bug] CodeMie Connect wizard rejects Node.js v22/v24 - version check accepts only v20.x #442

Description

@gbuh

Description

The Windows GUI wizard () fails on the **** step when Node.js v22.x or v24.x is installed. The wizard does not recognise the existing installation as valid, silently triggers the sub-step (1.2.1), which then fails with:

Node.js could not be installed automatically. Install Node.js manually from nodejs.org, then relaunch this wizard.

Steps to Reproduce

  1. Install Node.js v22.x or v24.x via the official MSI to 2. Launch 3. Enable Unattended mode (or approve manually when prompted)
  2. Observe step **** (step 1.2) fail

Expected Behavior

Wizard detects the installed Node.js (any version >= 20) as valid and proceeds without attempting to download or install Node.js.

Actual Behavior

  • Step 1.2 reports Node.js as not found
  • Step 1.2.1 is triggered automatically
  • Download/install fails: Installation failed modal

Root Cause (binary analysis)

The semver version requirement in of the wizard source repo uses the **caret constraint **, which the crate (v1.0.28) resolves as . Any Node.js newer than v20.x (v21, v22, v23, v24) is rejected.

The bootstrap script in this repo works correctly because it uses a numeric major-version comparison () rather than a semver caret constraint.

Fix needed in wizard source: change to in .

Note: PR #401 (merged Jul 14 2026) fixed the path-detection variant of this bug class. This is the version-acceptance variant — the path is found correctly but the version is rejected.

Environment

Field Value
OS Windows 11 Enterprise 10.0.26100
Node.js v24.15.0 ( — exact wizard probe path)
npm 11.12.1
CodeMie CLI 0.10.1
Wizard CodeMie Connect 2.0.1

Installed Agents

  • CodeMie Code (0.0.47)
  • Claude Code (2.1.219)

CodeMie Doctor Output

Full doctor output
Node.js:    v24.15.0
npm:        11.12.1
Python:     3.13.0
uv:         not found (optional)
AWS CLI:    not found (optional)
Profile:    epm-cdme
Provider:   ai-run-sso
API Key:    sso-prov***ided
Model:      claude-sonnet-4-6
Agents:     CodeMie Code 0.0.47, Claude Code 2.1.219

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions