You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sanity studio with Vision 3.79.0 fails to build due to this error
✘ [ERROR] No matching export in "node_modules/@uiw/react-codemirror/esm/index.js" for import "EditorSelection"
node_modules/@sanity/vision/lib/_chunks-es/SanityVision.mjs:10:21:
10 │ import CodeMirror, { EditorSelection } from "@uiw/react-codemirror";
Downgrading to 3.78.0 fixes the problem.
sanity versions
@sanity/cli (global) 3.72.1 (latest: 3.79.0)
@sanity/eslint-config-studio 5.0.1 (latest: 5.0.2)
@sanity/locale-nb-no 1.1.19 (up to date)
@sanity/types 3.79.0 (up to date)
@sanity/ui 2.15.2 (latest: 2.15.6)
@sanity/vision 3.79.0 (up to date)
The text was updated successfully, but these errors were encountered:
I'm sorry for the inconvenience, this is a dependencies miss match on our side, thank you for reporting it.
We are declaring in the vision package to use ^4.19.9 and that is resolving to the version 4.23.8 which exports the EditorSelection, but version 4.19.9 doesn't export it 🤯
Sanity studio with Vision 3.79.0 fails to build due to this error
Downgrading to 3.78.0 fixes the problem.
The text was updated successfully, but these errors were encountered: