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

Can't start language server from Emacs #102

Open
jcs090218 opened this issue Mar 27, 2024 · 3 comments
Open

Can't start language server from Emacs #102

jcs090218 opened this issue Mar 27, 2024 · 3 comments
Labels
🐛 bug Defect / Bug

Comments

@jcs090218
Copy link

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
Copy link
Member

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 kieran-ryan added the 🐛 bug Defect / Bug label Mar 30, 2024
@kieran-ryan
Copy link
Member

@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
Copy link
Author

Here is my env info:

  • Node: v20.9.0
  • Npm: 9.6.2

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

No branches or pull requests

3 participants