-
Notifications
You must be signed in to change notification settings - Fork 3
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
[v3] Error: multiple instances of @codemirror/state are loaded, breaking instanceof checks. #46
Comments
Could you do |
Sure thing: info Reasons this module exists
|
Same problem brought me here. Deleting |
Same for me |
Same error here. |
@dwkns thanks works after deleting |
Same here. Deleting node_modules and package-lock.json fixed it. Thanks! |
Just to give an update, if the problem is on a unit test, remember do a mock for codemirror |
I'm receiving this error when using the codeInput V3 plugin:
Error: Unrecognized extension value in extension set ([object Object]). This sometimes happens because multiple instances of @codemirror/state are loaded, breaking instanceof checks.
Here's my sanity.config.ts:
Package.json:
Only one schema in the config - so nothing complex there.
Any ideas?
The text was updated successfully, but these errors were encountered: