language-server icon indicating copy to clipboard operation
language-server copied to clipboard

Can't start language server from Emacs

Open jcs090218 opened this issue 1 year ago • 3 comments
trafficstars

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.

jcs090218 avatar Mar 27 '24 02:03 jcs090218

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.

binhtddev avatar Mar 29 '24 06:03 binhtddev

@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

kieran-ryan avatar Apr 21 '24 10:04 kieran-ryan

Here is my env info:

  • Node: v20.9.0
  • Npm: 9.6.2

jcs090218 avatar Apr 21 '24 11:04 jcs090218