Skip to content
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

Unrecognized extension value in extension set ([object Object]). This sometimes happens because multiple instances of @codemirror/state are loaded, breaking instanceof checks. #613

Open
Reputation-Liberty opened this issue Jan 11, 2024 · 4 comments

Comments

@Reputation-Liberty
Copy link

1
version:
image
code:
image

@virtuallyunknown
Copy link

Got the same issue today after upgrading a bunch of codemirror related packages.

 "@uiw/codemirror-extensions-langs": "^4.21.21",
 "@uiw/codemirror-theme-github": "^4.21.21",
 "@uiw/codemirror-themes": "^4.21.21",
 "@uiw/react-codemirror": "^4.21.21",

Manually deleted node_modules and pnpm-lock.yaml, ran pnpm install once more and it worked again.

@Binlogo
Copy link

Binlogo commented Apr 22, 2024

I used the "@codemirror/legacy-modes": "6.3.3", got the same issue, after update relative deps, fixed.

-  "@codemirror/legacy-modes": "6.3.3",
+ "@codemirror/legacy-modes": "6.4.0",

-  "@uiw/react-codemirror": "4.21.21",
+ "@uiw/react-codemirror": "^4.21.21",

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants