Skip to content

Missing Node 22 LTS support #1119

@code-ape

Description

@code-ape

What happened: Tried to have nexe build a from source for Node 22.14.0 LTS on MacOS 15.1 on arm64. I get module loading errors like this:

$ ./mac-arm-test 
node:internal/modules/cjs/loader:1250
  throw err;
  ^

Error: Cannot find module '/Users/ferris/dev/nexe_builds/__nexe_stdin.js'
    at Function._resolveFilename (node:internal/modules/cjs/loader:1247:15)
    at Function._load (node:internal/modules/cjs/loader:1077:27)
    at TracingChannel.traceSync (node:diagnostics_channel:322:14)
    at wrapModuleLoad (node:internal/modules/cjs/loader:242:24)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:170:5)
    at node:internal/main/run_main_module:36:49 {
  code: 'MODULE_NOT_FOUND',
  requireStack: []
}

Node.js v22.14.0

What you expected to happen: Build a working nexe binary.

How to reproduce it (as minimally and precisely as possible):

echo "console.log(process.version);" | npx nexe --build \
    --target=22.14.0 --make=-j8 \
    --python=/opt/homebrew/bin/python3 \
    -o ./mac-arm-test  ./index.js

Anything else we need to know?:

Environment:

  • Platform(OS/Version): MacOS 15.1
  • Host Node Version: 18.20.7
  • Target Node Version: 22.14.0
  • Nexe version: 5.0.0-beta.3
  • Python Version: 3.13.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions