Skip to content

ts-lsp-client export issue #58

@laurentpayot

Description

@laurentpayot

Hi, today when I try to start the dev server or to build my project, I get the following error:

file:///home/laurent/projects/myproject/node_modules/.pnpm/vite-plugin-fable@0.2.0_esbuild@0.25.10_rolldown-vite@7.1.16_@types+node@24.7.0_esbuild_c6c6e0daeb083ad50f33ba27a1753f25/node_modules/vite-plugin-fable/index.js:5
import { JSONRPCEndpoint } from "ts-lsp-client";
         ^^^^^^^^^^^^^^^
SyntaxError: The requested module 'ts-lsp-client' does not provide an export named 'JSONRPCEndpoint'

Could it be because ts-lsp-client started using the module type three days ago? Installing ts-lsp-client version 1.0.4 instead of 1.1.0 (^1.0.3) in the vite-plugin-fable module directory fixes the issue. But using the latest version and updating the imports would be preferable.

Cheers,
Laurent

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