Closed thomasKn closed 1 day ago
@thomasKn thanks for sharing the repro! I've tested on my end and the error seems to be gone ✨ But I haven't setup any env vars so I couldn't get Hydrogen to actually load, can you test https://github.com/sanity-io/visual-editing/releases/tag/visual-editing-v2.5.2 on your end and tell me if it's resolved for you?
I can confirm it's working now, thanks @stipsan!
Great to hear!
Describe the bug
When importing the VisualEditing component from
@sanity/visual-editing/remix
(version 2.5.1), the Hydrogen dev command fails to start, resulting in a MiniflareCoreError. The issue occurs in a Hydrogen non-Vite app.To Reproduce
I published a reproduction repo here. The
main
branch is a non-vite Hydrogen app. Thenpm run dev
command should fail to start, resulting in a MiniflareCoreError. I also pushed avite
branch that doesn't have the issue.Which versions of Sanity are you using?
What operating system are you using?
macOS 15.0.1
Which versions of Node.js / npm are you running?
10.8.2 v20.18.0