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

Error running marko-language-server command on Windows #301

Open
russell-knight opened this issue Nov 13, 2024 · 0 comments
Open

Error running marko-language-server command on Windows #301

russell-knight opened this issue Nov 13, 2024 · 0 comments

Comments

@russell-knight
Copy link

@marko/[email protected]

Details

Receiving the below error when running the marko-language-server command

Your Environment

  • Windows 11
  • Node.js v20.10.0

Stack Trace

C:\src\landing-pages [main ≡]> marko-language-server
C:\Users\<User>\AppData\Roaming\npm\node_modules\@marko\language-server\node_modules\vscode-languageserver\lib\node\main.js:192
        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 (C:\Users\<User>\AppData\Roaming\npm\node_modules\@marko\language-server\node_modules\vscode-languageserver\lib\node\main.js:192:15)
    at createConnection (C:\Users\<User>\AppData\Roaming\npm\node_modules\@marko\language-server\node_modules\vscode-languageserver\lib\node\main.js:137:12)
    at Object.<anonymous> (C:\Users\<User>\AppData\Roaming\npm\node_modules\@marko\language-server\dist\index.js:3715:52)
    at Module._compile (node:internal/modules/cjs/loader:1376:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1435:10)
    at Module.load (node:internal/modules/cjs/loader:1207:32)
    at Module._load (node:internal/modules/cjs/loader:1023:12)
    at Module.require (node:internal/modules/cjs/loader:1235:19)
    at require (node:internal/modules/helpers:176:18)
    at Object.<anonymous> (C:\Users\<User>\AppData\Roaming\npm\node_modules\@marko\language-server\bin.js:2:1)

Node.js v20.10.0
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