-
Notifications
You must be signed in to change notification settings - Fork 394
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 2.6.0 cannot resolve './utils/patches' #2363
Comments
This error is not happening on projects that are newly created on 2.6.0. It only occurs after upgrading (I was able to confirm the error when upgrading to 2.6.0 from 2.5.0, 2.4.3, and 2.3.5). |
Seems like I was able to fix this in v2.6.1 - this one is a bit weird, cause it seems like yarn is doing something weird on upgrade. This is a workaround more than a proper fix, will have to look into this more closely 🔍 |
I upgraded the Studio from v2.3.7 to v2.6.0 and encountered the same error. In my case, I just ran |
Yes, I also encountered exactly the same problem when upgrading to 2.6.0 few days ago - in my case, I deleted the |
Describe the bug
Sanity 2.6.0 will not run in dev mode (
sanity start
) or build.To Reproduce
sanity start
on v2.6.0.Expected behavior
The Studio would compile.
Screenshots
Which versions of Sanity are you using?
What operating system are you using?
macOS 11.1
Which versions of Node.js / npm are you running?
7.5.3
v14.15.5
Additional context
Copying
node_modules/@sanity/form-builder/lib/utils/patches.js
from a previous version got it working again.The text was updated successfully, but these errors were encountered: