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
When I try to call the languageServer function directly in the script tag it crashes with some weird error from svelte. If I try to call the languageServer function onMount it throws this error
caught (in promise) TypeError: events_1.EventEmitter is not a constructor
at new TransportRequestManager2 (codemirror-languageserver.js?v=a7fd2213:318:40)
at WebSocketTransport3.Transport2 (codemirror-languageserver.js?v=a7fd2213:467:42)
at new WebSocketTransport3 (codemirror-languageserver.js?v=a7fd2213:1500:30)
at languageServer (codemirror-languageserver.js?v=a7fd2213:8519:16)
at +page.svelte?t=1682723499451:156:25
at run (chunk-PUOMPBAM.js?v=a7fd2213:19:10)
at Array.map (<anonymous>)
at chunk-PUOMPBAM.js?v=a7fd2213:1806:52
at flush (chunk-PUOMPBAM.js?v=a7fd2213:1092:9)
at init (chunk-PUOMPBAM.js?v=a7fd2213:1888:5)
T
Can you provide some hints on how can I fix this?
P.s. the fact that you can connect to an lsp from codemirror is just magical...thanks for your work ✨
The text was updated successfully, but these errors were encountered:
When I try to call the languageServer function directly in the script tag it crashes with some weird error from svelte. If I try to call the languageServer function onMount it throws this error
Can you provide some hints on how can I fix this?
P.s. the fact that you can connect to an lsp from codemirror is just magical...thanks for your work ✨
The text was updated successfully, but these errors were encountered: