I am creating a React Application based on Vite and using codemirror-languageserver. When initializing languageServer, it is giving error events_1.EventEmitter is not a constructor and it is coming from @open-rpc/client-js because it is using events package from nodejs which is not compatible in browser. Similar Issue is already raised on open-rpc for long time but perhaps, it is not getting maintained regularly.
