Svelte plugin crashing
See original GitHub issueIssue Description
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:
- Created 2 years ago
- Comments:8
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Workaround
If you go to the location of your plugin and
npm i -D typescript
, this issue is solved.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: https://github.com/neoclide/coc.nvim/wiki/Using-coc-extensions#use-vims-plugin-manager-for-coc-extension