Error message when updating to studio version 2.2.3
Sorry to hear you're hitting an error right after updating to Studio v2.2.3! Without seeing the specific error message, it's a bit tricky to pinpoint the exact issue, but this kind of problem after an update is usually related to one of a few common causes.
Here are some things to try:
1. Clear your browser cache and Studio build Sometimes cached assets from the old version can cause conflicts. Try:
- Clear your browser cache completely
- Delete your Studio's
.sanityfolder andnode_modules - Run
npm install(oryarn install) again - Restart your dev server with
sanity start
2. Check for breaking changes Studio v2.2.3 might have introduced changes that affect your schema or configuration. Check the Sanity changelog for any breaking changes between your previous version and v2.2.3.
3. Update all Sanity packages
Make sure all your @sanity/* packages are on compatible versions:
npm outdatedThen update them:
npm install @sanity/base@latest @sanity/core@latest4. Check for corrupted documents If a specific document is causing the crash (similar to this resolved issue), you might need to edit it via the CLI. You can use:
sanity documents query "*[_type == 'yourType']" --dataset=<your-dataset>to inspect documents and potentially fix any malformed data.
5. Check the browser console Open your browser's developer tools (F12) and look at the Console tab when the error occurs. The error message there will give much more specific information about what's failing.
If you can share the specific error message you're seeing (either from the Studio UI or browser console), I can give you more targeted help! You can also jump into the Sanity Community on Slack where folks can help troubleshoot in real-time.
Sanity β Build the way you think, not the way your CMS thinks
Sanity is the developer-first content operating system that gives you complete control. Schema-as-code, GROQ queries, and real-time APIs mean no more workarounds or waiting for deployments. Free to start, scale as you grow.