question-mark
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.

Crashes immediately after updating to 1.4.1

See original GitHub issue

Hey and thanks for all your work on coc.nvim and all the useful extensions! 😃 After updating coc-yaml to version 1.4.1 I always get a server crash when coc-yaml is activated:

TypeError: Cannot read property 'length' of undefined
    at SettingsHandler.setConfiguration (/home/imeyer/.config/coc/extensions/node_modules/coc-yaml/node_modules/yaml-language-server/out/server/src/languageserver/handlers/settingsHandlers.js:79:51)
    at SettingsHandler.<anonymous> (/home/imeyer/.config/coc/extensions/node_modules/coc-yaml/node_modules/yaml-language-server/out/server/src/languageserver/handlers/settingsHandlers.js:56:18)
    at Generator.next (<anonymous>)
    at fulfilled (/home/imeyer/.config/coc/extensions/node_modules/coc-yaml/node_modules/yaml-language-server/out/server/src/languageserver/handlers/settingsHandlers.js:5:58)
[Info  - 9:16:12 AM] Connection to server got closed. Server will restart.
/home/imeyer/.config/coc/extensions/node_modules/coc-yaml/node_modules/yaml-language-server/out/server/src/languageserver/handlers/settingsHandlers.js:79
                if (settings.yaml.schemaStore.url.length !== 0) {
                                                  ^

I am on a Linux box with the latest coc.nvim version.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
nemonikcommented, Jul 7, 2021

copying @Frederick888’s “yaml.schemaStore.url” from the above commit into my coc-settings.json fixed things for me… so, yep… thank you sir.

https://github.com/Frederick888/coc-yaml/commit/6512eded86b71809dcaa536c434ee77cbe8ea2cd

1reaction
IngoMeyer441commented, Jul 6, 2021

I use the default configuration for yaml (there are no configuration entries for yaml in my coc-settings.json). Seems that coc-yaml expects an url configuration for the schema store. If I add

    "yaml.schemaStore.url": "",

for testing to my coc-settings.json, crashes do not happen.

Read more comments on GitHub >

github_iconTop Results From Across the Web

1.4.1 has so many crashes it's literally unplayable. - Reddit
Same here, the game crashes constantly when ending missions or going to cut scenes, it's just a mess to play right now. GTX1080...
Read more >
1.4.1: "Host and Play" immediately crashes the game
I'm assuming the 1.4.1 update, the only variable that has changed since Monday night when it last worked, is why. Please help.
Read more >
Constant crashes after 1.4.1 - Ubisoft Discussion Forums
Before patch 1.4.1, the game crashes, but not as frequent as this. The game crashes after 2-4 hours of playtime before the new...
Read more >
Fix Terraria 1.4 Update Crashes - Get Droid Tips
First of all, open Steam > Go to Library > Right-click on Terraria > Go to Properties > Click on Local Files >...
Read more >
Crash with ProjectE 1.4.1 · Issue #140 - GitHub
Greatings!, i just updated ProjectE to the latest 1.4.1, and it started crashing with the following ... FYI, you WILL crash when running...
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 Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found