Skip to content

Error in initializing language server due to openrpc client-js issue #40

@rishabh0906

Description

@rishabh0906

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.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions