cucumber/vscode

Language Server Client couldn't create connection to server

Closed this issue ยท 3 comments

๐Ÿ‘“ What did you see?

When I startup VS Code with the Cucumber plugin, I get these errors:

[Error - 6:38:16 AM] Server initialization failed.
  Message: Request initialize failed with message: bad export type for `tree_sitter_tsx_external_scanner_create`: undefined
  Code: -32603 
[Error - 6:38:16 AM] Cucumber Language Server client: couldn't create connection to server.
  Message: Request initialize failed with message: bad export type for `tree_sitter_tsx_external_scanner_create`: undefined
  Code: -32603 

And the cucumber plugin is not working.

โœ… What did you expect to see?

No errors :)

๐Ÿ“ฆ Which tool/library version are you using?

I'm working within WSL:

Linux xxx 5.15.146.1-microsoft-standard-WSL2 #1 SMP Thu Jan 11 04:09:03 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Ubuntu 24.04 LTS

Latest cucumber plugin v1.10.0

Latest vscode

Version: 1.92.2 (user setup)
Commit: fee1edb8d6d72a0ddff41e5f71a671c23ed924b9
Date: 2024-08-14T17:29:30.058Z
Electron: 30.1.2
ElectronBuildId: 9870757
Chromium: 124.0.6367.243
Node.js: 20.14.0
V8: 12.4.254.20-electron.0
OS: Windows_NT x64 10.0.19045

๐Ÿ”ฌ How could we reproduce it?

  1. Install vscode on Windows (10)
  2. Connect to WSL
  3. Install the cucumber plugin within WSL

๐Ÿ“š Any additional context?

If I can provide any additional information or logging, please let me know.

Duplicate of #243

And duplicate of #234

And duplicate of #155