Closed Mirza-Glitch closed 1 year ago
The issue was related to openrpc client library which is used by codemirror-languageserver. I found the solution at this thread, I just needed to install events package by running npm i events
. However I got into another error which might be related to codemirror, the error looks like this:
Config merge conflict for field override
at combineConfig (http://localhost:5173/node_modules/.vite/deps/chunk-MKFMOIK6.js?v=fda1d2b4:2566:15)
at _Facet.combine (http://localhost:5173/node_modules/.vite/deps/chunk-33JKMBHJ.js?v=fda1d2b4:299:12)
at _Configuration.resolve (http://localhost:5173/node_modules/.vite/deps/chunk-MKFMOIK6.js?v=fda1d2b4:1797:29)
at _EditorState.create (http://localhost:5173/node_modules/.vite/deps/chunk-MKFMOIK6.js?v=fda1d2b4:2418:39)
The issue was related to openrpc client library which is used by codemirror-languageserver. I found the solution at this thread, I just needed to install events package by running
npm i events
. However I got into another error which might be related to codemirror, the error looks like this:Config merge conflict for field override at combineConfig (http://localhost:5173/node_modules/.vite/deps/chunk-MKFMOIK6.js?v=fda1d2b4:2566:15) at _Facet.combine (http://localhost:5173/node_modules/.vite/deps/chunk-33JKMBHJ.js?v=fda1d2b4:299:12) at _Configuration.resolve (http://localhost:5173/node_modules/.vite/deps/chunk-MKFMOIK6.js?v=fda1d2b4:1797:29) at _EditorState.create (http://localhost:5173/node_modules/.vite/deps/chunk-MKFMOIK6.js?v=fda1d2b4:2418:39)
hey i also have this error. did you ever fix this?
Edit: fixed it by removing my old autocomplete extension that had override set.
I'm having solid js project which use vite to start the front-end. I'm having a codemirror based code editor in my project, and I'm using jsonrpc-ws-proxy to start the lsp server (I'm using tsserver). Everything was working fine but after using
codmirror-languageserver
I'm getting an error which looks like this:Not just that, i also had another warning from vite which said:
I followed the link they provided, it ironically mentions "it's advised to report the issue to the respective library".
I've tried various ways but nothing works. I've checked server, it works fine so looks problem from frontend side. I think it's somewhere problem with dependencies of codemirror-languageserver package, how do I resolve this ?
Here is how I used the codemirror-languageserver package at Frontend: