Skip to content

Crash with Svelte 5  #129

@blackjyn

Description

@blackjyn

So, Svelte 5 is now at RC. then I tried some taste of it.

I add v5 my project:

λ npm install --save-dev svelte@next
λ npm list
[email protected] SvelteNEXT
├── @sveltejs/[email protected]
├── @sveltejs/[email protected]
├── @sveltejs/[email protected]
├── [email protected]
├── [email protected]
├── [email protected]
└── [email protected]

then Sublime Text triggers:
svelte5_lsp_error

Then the LSP log :

LSP-svelte: Error: Cannot find module 'D:\xxxx\_SvelteNEXT\node_modules\svelte\compiler.cjs

And yes, Svelte 5 deosnt have that compiler.cjs file.

Svelte 4 running just fine.

ENV:

  • WIndows x64
  • Sublime Text 4
  • LSP Svelte v3,10

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