-
Notifications
You must be signed in to change notification settings - Fork 427
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
Sanity and Next.js 15 #7705
Comments
Hi elie222 thank you for reporting. Have you followed at all the details outlined here related to upgrading to React v19 - https://www.sanity.io/help/react-19 |
I can confirm I also have the same issue. I was playing around with this repo https://github.com/sanity-io/sanity-template-vercel-visual-editing upgrading it the newest versions. I followed the guidance in the react 19 upgrade page referenced. But the issue persists. I'm just commenting out all icons in the schemas currently. |
Sorry, I actually solved this. I think I hadn't updated on my packages. |
Thanks for joining this issue @paulmains-epam. |
Yes I believe you're correct. Upon further investigation I had some peer dependency issues that weren't being highlighted. I'm not sure which package it was in hindsight, but it was pulling in v16 react types. I've re-setup the codebase a few different times since I first saw the issue. It's not happened again. |
This code has a TypeScript error when updating to Next 15 (React 19):
Error:
The text was updated successfully, but these errors were encountered: