-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Build fails with Node 20.6 #8411
Comments
Edit: upstream in node, not babel. |
Downgrading to nodejs 20.5 at least works around it until the fix is released. |
Pasting text of errors I get for better searchability—took a while to find this via nodejs/node#49497 (comment)! When running
When running
|
Yeah figured a message by astro would be nice for this reason. It is hard to get to the bottom of this as a user. But they fixed it, so hopefully it's a matter of a few hours before 20.6.1 is released. |
We added a workaround for this in |
20.6.1 fix it and released. |
I don't really think there's much we can do at this point. If you're still seeing the issue in 20.6.1, please report it to nodejs. Or you can upgrade the babel dependencies to latest. Closing this as resolved. |
20.6.1 fixes the issue for me. |
Switching to bun also fixed this issue. |
Astro Info
If this issue only occurs in one browser, which browser is a problem?
No response
Describe the Bug
What's the expected result?
Users are able to build their projects.
Link to Minimal Reproducible Example
Any astro project on Node 20.6
Participation
The text was updated successfully, but these errors were encountered: