Skip to content

Crash Error [ERR_WORKER_INVALID_EXEC_ARGV]: Initiated Worker with invalid execArgv flags for node 24.7.0+ #10238

@Ayc0

Description

@Ayc0

🐛 bug report

🤔 Expected Behavior

It should still pass after updating Node.js

😯 Current Behavior

It is crashing once for every Node.js version above 24.7.0 (included), but passes on 24.6.0 & below

💁 Possible Solution

🔦 Context

In https://github.com/Ayc0/code-splitting-issue, I'm trying out multiple bundlers' features across different versions. I'm right now on Node 24.4.1 (which builds properly), but when I upgraded it to 24.11.1, the build started to crash with this error:

test at tests/parcel.test.mjs:8:1
✖ builds and tree-shakes using parcel (46.581875ms)
  Error [ERR_WORKER_INVALID_EXEC_ARGV]: Initiated Worker with invalid execArgv flags: --stack-trace-limit=10, --tls-cipher-list=TLS_AES_256_GCM_SHA384:TLS_CHACHA20_POLY1305_SHA256:TLS_AES_128_GCM_SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA384:DHE-RSA-AES256-SHA384:ECDHE-RSA-AES256-SHA256:DHE-RSA-AES256-SHA256:HIGH:!aNULL:!eNULL:!EXPORT:!DES:!RC4:!MD5:!PSK:!SRP:!CAMELLIA, --use-largepages=off, --secure-heap-min=2, --v8-pool-size=4, --node-snapshot, --trace-event-file-pattern=node_trace.${rotation}.log, --secure-heap=0

I tried a few different versions and the build works on node 24.6.0, but starts crashing at node 24.7.0 (with no other changes)

💻 Code Sample

See Ayc0/code-splitting-tests#58 (the output: https://github.com/Ayc0/code-splitting-issue/actions/runs/19389565184/job/55481126023)

🌍 Your Environment

Software Version(s)
Parcel ^2.16.1
Node 24.7.0+
pnpm 10.21.0
macOS 15.7 (24G222)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions