Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Svelte plugin crashing

See original GitHub issue

To replicate, npx degit "sveltejs/sapper-template#rollup" test, open the test directory in vim and open a .svelte file.

You will see a notice [coc.nvim] The "svelte" server crashed 5 times in the last 3 minutes..

I’m using the latest versions of both coc and coc-svelte. NVIM 0.4.4

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8

github_iconTop GitHub Comments

samrocksccommented, Aug 29, 2020


If you go to the location of your plugin and npm i -D typescript, this issue is solved.

jesperpcommented, Oct 7, 2020

I think you can just install it through Plug like this instead:

Plug 'coc-extensions/coc-svelte', {'do': 'yarn install --frozen-lockfile'}

As explained in the Note section here:

Read more comments on GitHub >

github_iconTop Results From Across the Web

"Crash" when used with prettier and eslint · Issue #57 - GitHub
svelte file to break down into an AST, and crashes. I'm trying to get this confirmed in the Prettier community but it seems...
Read more >
Problem with rollup dev server crashing in svelte 3
I suspect this is caused by the plugin rollup-plugin-livereload which attempts to watch the public folder for changes. There are too many files ......
Read more >
So how do people avoid Svelte crashing the whole web app ...
You can wrap things in try/catch -- in vs code, just type trycatch and hit tab -- quick and easy. Also, for 'property...
Read more >
prettier-plugin-svelte - Bountysource
1) Lint crashes in the svlte compile - see stack trace 2) Prettier fails to format on save the App.svelte file - and...
Read more >
Svelte Testing Crash Course - Emarsys Craftlab
Jest has many different built-in assertions. These assertions, however, do not cover all use-cases. Those missing assertions can be imported with Jest's plugin...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found