Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gatsby develop fails with NodeJS 22 #39068

Open
2 tasks done
Janaka-Steph opened this issue Aug 23, 2024 · 1 comment
Open
2 tasks done

gatsby develop fails with NodeJS 22 #39068

Janaka-Steph opened this issue Aug 23, 2024 · 1 comment
Labels
status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer type: bug An issue or pull request relating to a bug in Gatsby

Comments

@Janaka-Steph
Copy link

Preliminary Checks

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

@Janaka-Steph Janaka-Steph added the type: bug An issue or pull request relating to a bug in Gatsby label Aug 23, 2024
@gatsbot gatsbot bot added the status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer label Aug 23, 2024
@branberry
Copy link

branberry commented Aug 29, 2024

Experiencing the same issue. You can downgrade Node to resolve this, but it seems problematic to have this error on the current version of Node.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer type: bug An issue or pull request relating to a bug in Gatsby
Projects
None yet
Development

No branches or pull requests

2 participants