Skip to content

global vls command not working  #3687

@Andreashoj

Description

@Andreashoj

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions