You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
➜ parcel-segfault node --version
v22.7.0
➜ parcel-segfault npx parcel src/index.html
(node:97502) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
Server running at http://localhost:1234
⠙ Building index.html...
node(97068,0x17455b000) malloc: Incorrect checksum for freed object 0x12793fc00: probably modified after being freed.
Corrupt value: 0x3131303865353330
node(97068,0x174967000) malloc: Incorrect checksum for freed object 0x13810b200: probably modified after being freed.
Corrupt value: 0x3131303865353330
node(97068,0x17455b000) malloc: *** set a breakpoint in malloc_error_break to debug
node(97068,0x174967000) malloc: *** set a breakpoint in malloc_error_break to debug
[1] 97046 segmentation fault npx parcel src/index.html
➜ parcel-segfault nvm use 22.6.0
Now using node v22.6.0 (npm v10.8.2)
➜ parcel-segfault npx parcel src/index.html
(node:97502) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
Server running at http://localhost:1234
✨ Built in 236ms
(I have also included a portion where downgrading to 22.6.0 demonstrates a working scenario.)
💁 Possible Solution
Unknown, but only workaround I have is to pin node versions on 22.6.0 or below for the time being.
🔦 Context
This occurs both building locally and this also fails when deploying on Heroku.
🐛 bug report
When running parcel (either in build or watch mode) in Node 22.7.0 or later, the command will crash with a segmentation fault error.
🎛 Configuration (.babelrc, package.json, cli command)
n/a -- this occurs even on no configuration.
🤔 Expected Behavior
Application should build or run.
😯 Current Behavior
Parcel crashes:
(I have also included a portion where downgrading to 22.6.0 demonstrates a working scenario.)
💁 Possible Solution
Unknown, but only workaround I have is to pin node versions on 22.6.0 or below for the time being.
🔦 Context
This occurs both building locally and this also fails when deploying on Heroku.
💻 Code Sample
This occurs for my own project, but I have also created a very basic test case using the quick-start instructions https://parceljs.org/getting-started/webapp/ -- which I am hosting here: https://github.com/louh/parcel-segfault
You can run this repository (make sure your local node version matches) with:
Note that if you downgrade node to
22.6.0
the build will succeed as expected.🌍 Your Environment
The text was updated successfully, but these errors were encountered: