Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

global vls command not working #3687

Open
Andreashoj opened this issue Apr 6, 2023 · 0 comments
Open

global vls command not working #3687

Andreashoj opened this issue Apr 6, 2023 · 0 comments

Comments

@Andreashoj
Copy link

Andreashoj commented Apr 6, 2023

System Information - Macbook Air M1, 13.2.1

VLS info

I tried both 8.5 and 8.4. Which makes me think something with my installation is wrong.
Node 19.8.1

Problem Description

I'm trying to setup my lsp for my nvim config and for that reason I'm trying to install vls on my system. I was running :LspInfo to see why I was getting no auto completion and I couldn't see vls as one of the installed lsp servers. I then tried running vls as a global command I am getting this error. I tried the same thing on my windows pc and got the same output

Expected Output

Actual Output

Console output when running vls -vvv

vls -vvv
Error: Connection input stream is not set. Use arguments of createConnection or set command line parameters: '--node-ipc', '--stdio' or '--socket={number}'
    at /opt/homebrew/lib/node_modules/vls/dist/vueServerMain.js:1:129839
    at e.createConnection (/opt/homebrew/lib/node_modules/vls/dist/vueServerMain.js:1:130159)
    at Object.<anonymous> (/opt/homebrew/lib/node_modules/vls/dist/vueServerMain.js:1:130269)
    at Module._compile (node:internal/modules/cjs/loader:1275:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1329:10)
    at Module.load (node:internal/modules/cjs/loader:1133:32)
    at Module._load (node:internal/modules/cjs/loader:972:12)
    at Module.require (node:internal/modules/cjs/loader:1157:19)
    at require (node:internal/modules/helpers:119:18)
    at Object.<anonymous> (/opt/homebrew/lib/node_modules/vls/bin/vls:2:1)

Node.js v19.8.1

Steps to Reproduce

npm install -g vls
vls -vvv

Last Recorded LSP Requests

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant