cucumber / language-server

Cucumber Language Server
MIT License
36 stars 20 forks source link

Can't start language server from Emacs #102

Open jcs090218 opened 7 months ago

jcs090218 commented 7 months ago

I'm getting this error from the Emacs' lsp-mode client.

Request initialize failed with message: bad export type for `tree_sitter_tsx_external_scanner_create`: undefined (Internal Error)

Any help is appreciated!

Client is defined here: https://github.com/emacs-lsp/lsp-mode/blob/master/clients/lsp-cucumber.el.

binhtran432k commented 7 months ago

I'm getting this error from the Emacs' lsp-mode client.

Request initialize failed with message: bad export type for `tree_sitter_tsx_external_scanner_create`: undefined (Internal Error)

Any help is appreciated!

Client is defined here: https://github.com/emacs-lsp/lsp-mode/blob/master/clients/lsp-cucumber.el.

This is a known issue. The current implementation is primarily designed for use within VSCode and functions best with the same Node.js version used by VSCode (currently v18). To resolve this, please try using Node.js version 18. Thank you for your understanding.

kieran-ryan commented 6 months ago

@jcs090218, would you be able to advise what version of node you were running previously? We may to look at introducing it to our test suite at some point

jcs090218 commented 6 months ago

Here is my env info: