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.

Hi!

I’m trying to set this up, with LanguageClient-NeoVim — and it doesn’t work — and I don’t know why. Any help?

$ yaml-language-server --help
/usr/local/lib/node_modules/yaml-language-server/node_modules/vscode-languageserver/lib/main.js:700
        throw new Error("Connection input stream is not set. " + commandLineMessage);
        ^

Error: Connection input stream is not set. Use arguments of createConnection or set command line parameters: '--node-ipc', '--stdio' or '--socket={number}'
    at _createConnection (/usr/local/lib/node_modules/yaml-language-server/node_modules/vscode-languageserver/lib/main.js:700:15)
    at Object.createConnection (/usr/local/lib/node_modules/yaml-language-server/node_modules/vscode-languageserver/lib/main.js:647:12)
    at Object.<anonymous> (/usr/local/lib/node_modules/yaml-language-server/out/server/src/server.js:258:42)
    at Module._compile (internal/modules/cjs/loader.js:1076:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1097:10)
    at Module.load (internal/modules/cjs/loader.js:941:32)
    at Function.Module._load (internal/modules/cjs/loader.js:782:14)
    at Module.require (internal/modules/cjs/loader.js:965:19)
    at require (internal/modules/cjs/helpers.js:88:18)
    at Object.<anonymous> (/usr/local/lib/node_modules/yaml-language-server/bin/yaml-language-server:3:1)

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:10 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
JPinkneycommented, Sep 9, 2020

I believe the neovim issue for 0.5.8 was fixed, the docs just weren’t updated. It should work for anything > 0.6.0

0reactions
evidolobcommented, Sep 9, 2020

Finally, I think that adding debugging facilities to LSP server can still be done without violating the spec. Comparing to haskell-language-server which outputs a pretty detailed log to STDERR — I don’t have to guess, ask or find from the source which state it’s in, what errors it got and so on. Perhaps consider adding something similar — it’d be a big favor for editor integration writers.

Yes, that is a good point, maybe we can add similar stuff. @JPinkney WDYT?

Read more comments on GitHub >

github_iconTop Results From Across the Web

AbScent: ending smell disorders
We help people experiencing sense of smell loss (anosmia) to understand the condition, find support, and retrain their olfactory sense. Learn more here....
Read more >
Absence Management made easy with absence.io
Easily manage absences, employee information, and time tracking with just one tool. DE +49 (0)89 143 777477. US +1 856 356 0549 ·...
Read more >
Absent Students? Here's How to Help Them Catch Up!
Make classroom routine a breeze, even when students are absent! Follow our hints on how to manage and help students catch up on...
Read more >
Attendance Support | Ohio Department of Education
Ohio's Attendance Laws FAQ · Keeping Ohio Students Present, Engaged and Supported · Supporting Student Attendance with ESSER and ARP Funds · ​List ......
Read more >
What can schools do to improve attendance - CT.gov
What can schools do to improve attendance? The key functions of a School Attendance Review Team are to: Understand and monitor attendance trends....
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