-
Notifications
You must be signed in to change notification settings - Fork 10.3k
macOS Node 23: "internal-data-bridge" threw an error while running the sourceNodes lifecycle: "length" is outside of buffer bounds #39223
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
Comments
Experienced similar issue. Working fine with node version of v22.14.0 |
Experiencing the same issue. Definitely has something to do with node/npm versions but I've not managed to figure out what the correct version pair is. Using To reproduce:
Additionally: On a project that worked perfectly fine and deploys ok, using Complete log:
|
any solution to this issues? |
Same here |
I was using node v23.x, downgrading to 22.14.x worked for me |
Gatsby only supports Node up to version 22. I expect that to be the last version that will run Gatsby, since it's basically dead at this point. |
Preliminary Checks
Description
Building a Gatsby app on MacOS with Node 23 doesn't work, giving an error about internal-data-bridge (full logs below)
Reproduction Link
https://github.com/domdomegg/gatsby-39223-mre
(you can see failure logs in the GitHub actions run too)
Steps to Reproduce
brew install node
(Node 23)npm init gatsby -- -y -ts gatsby-repro
cd gatsby-repro && npm run build
Expected Result
The site builds correctly
Actual Result
The build fails with an error
Logs
Environment
System: OS: macOS 15.2 CPU: (12) arm64 Apple M2 Pro Shell: 5.9 - /bin/zsh Binaries: Node: 23.6.1 - /opt/homebrew/bin/node Yarn: 1.22.19 - /opt/homebrew/bin/yarn npm: 10.9.2 - /opt/homebrew/bin/npm Browsers: Chrome: 132.0.6834.160 Safari: 18.2 npmPackages: gatsby: ^5.14.1 => 5.14.1
Config Flags
No response
The text was updated successfully, but these errors were encountered: