gatsby
gatsby copied to clipboard
gatsby develop fails with NodeJS 22
Preliminary Checks
- [X] This issue is not a duplicate. Before opening a new issue, please search existing issues: https://github.com/gatsbyjs/gatsby/issues
- [X] This issue is not a question, feature request, RFC, or anything other than a bug report directly related to Gatsby. Please post those things in GitHub Discussions: https://github.com/gatsbyjs/gatsby/discussions
Description
When using Node 22, gatsby develop
fails with this error:
⠹ compile gatsby files
node(5534,0x16fca7000) malloc: Incorrect checksum for freed object 0x14b1a3c00: probably modified after being freed.
Corrupt value: 0x3339643635653838
node(5534,0x16fca7000) malloc: *** set a breakpoint in malloc_error_break to debug
node(5534,0x17a437000) malloc: Incorrect checksum for freed object 0x15b2cb600: probably modified after being freed.
Corrupt value: 0x3339643635653838
⠇ compile gatsby files
Reproduction Link
Steps to Reproduce
n 22 gatsby develop
Expected Result
working
Actual Result
no working
Environment
System:
OS: macOS 14.6.1
CPU: (10) arm64 Apple M1 Max
Shell: 5.9 - /bin/zsh
Binaries:
Node: 22.7.0 - /usr/local/bin/node
Yarn: 1.22.19 - ~/.yarn/bin/yarn
npm: 10.8.2 - /opt/homebrew/bin/npm
Languages:
Python: 3.10.7 - /Users/stephane/.pyenv/shims/python
Browsers:
Chrome: 128.0.6613.84
Safari: 17.6
npmPackages:
gatsby: ^5.13.7 => 5.13.7
gatsby-plugin-manifest: ^5.13.1 => 5.13.1
gatsby-plugin-postcss: ^6.13.1 => 6.13.1
gatsby-plugin-svgr: ^3.0.0-beta.0 => 3.0.0-beta.0
Config Flags
No