-
Notifications
You must be signed in to change notification settings - Fork 27
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
Compatibility issue with Sanity 3.52.0+ #67
Comments
Actually, it seems this was caused by sanity-io/sanity#7172 where they changed the Vite config to add conditions. A similar issue was resolved in Storybook here: storybookjs/storybook#28581 I'm talking to Sanity support to see if this is an issue on their side, but it also might be related to how this plugin loads React possibly? |
@clinejj Which version was the last one that was working for you? I went back to 3.48.1 and the issue remains there. |
I had it working in 3.51.0 |
This should be resolved in sanity 3.52.3+ (see release notes), fixed in this PR: sanity-io/sanity#7267 |
After updating our Sanity dependency to 3.52.0, we were no longer able to start the studio in dev mode (
sanity dev --host=0.0.0.0
). It would show the following error:Looking at the changelog on Sanity, it appears this PR updating how imports work related to their auto-updating functionality may have triggered it: sanity-io/sanity#7187
Either way, would it be possible to address this so we can update to the newer versions of Sanity Studio?
The text was updated successfully, but these errors were encountered: