Open piofinn opened 10 months ago
Yeah, this is also happening for me.
Hey @piofinn and @deckchairlabs could you please try removing your node_modules
and pnpm.lock
file and running a new install?
rm -rf node_modules pnpm-lock.yaml
pnpm i
You can find more info in this issue in codemirror
Please, let us know if that fixed the issue.
Hey @pedrobonamin, sorry for delay in getting back to, your solution above fixed the issue for me! Thanks
Describe the bug
The vision tool crashes when opened, after a brief flash of the page layout. The error message (see screenshot below) points to multiple installed versions of
@codemirror/state
as a possible culprit.To Reproduce
visionTool
pluginExpected behavior
The vision tool should work as expected
Screenshots
(The two cut-off lines read "breaking instanceof checks")
Which versions of Sanity are you using?
What operating system are you using?
MacOS 13.6.1
Which versions of Node.js / npm are you running?
node: 20.9.0 pnpm: 8.3.1 (npm: 10.1.0)
Additional context
Other installed tool plugins are
sanity-plugin-media
andsanity/structure
, with both working as expected.package.json: