-
Notifications
You must be signed in to change notification settings - Fork 283
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
Error: failed to execute 'insertBefore' on 'Node' #2586
Comments
Not a meta export issue - remix-run/remix#9242 This is very likely an issue that only appears in dev |
As a temporary workaround, I believe upgrading to React 19 seems to solve this issue. |
I got the same error on a fresh install, seems to happen only the first time you visit a page
|
Hey @fafifox , we are aware of this bug but it does seems like it is something we need to upgrade Hydrogen to React 19 to solve this. It is a bit annoying but it is a bug that only happens while in local development |
remix-run/remix#9242 (comment) |
What is the location of your example repository?
https://github.com/scottdixon/hydrogen-meta-exports-bug
Which package or tool is having this issue?
Hydrogen
What version of that package or tool are you using?
2024.7.8
What version of Remix are you using?
2.10.1
Steps to Reproduce
npm run dev
The storefront will throw a 500 error:
Findings so far:
tailwindcss()
fromvite.config.js
prevents the issue.h2 preview
.Expected Behavior
Meta exports should work.
Actual Behavior
The storefront throws a 500:
The text was updated successfully, but these errors were encountered: