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

Cucumber client is not working and it throws error as "Cucumber Language Server client: couldn't create connection to server." #169

Closed
BavithiranOneMindIndia opened this issue Jun 28, 2023 · 4 comments

Comments

@BavithiranOneMindIndia
Copy link

While opening the .Feature file it throws an error

[Error - 2:51:10 PM] Server initialization failed.
Message: Request initialize failed with message: abort(Assertion failed: bad export type for tree_sitter_c_sharp_external_scanner_create: undefined). Build with -s ASSERTIONS=1 for more info.
Code: -32603
[Error - 2:51:10 PM] Cucumber Language Server client: couldn't create connection to server.
Message: Request initialize failed with message: abort(Assertion failed: bad export type for tree_sitter_c_sharp_external_scanner_create: undefined). Build with -s ASSERTIONS=1 for more info.
Code: -32603

@jenisys
Copy link

jenisys commented Jun 28, 2023

DUPLICATES: #164 , #155 (I think)
The underlying tree-sitter problem is only partly fixed (AFAIK).

@lucasbeninca
Copy link

I have the same problem
Windows 10 home.

@xeger
Copy link
Member

xeger commented Sep 20, 2023

Thank you for the bug report. This is fixed in v1.8.0 which should be published to the Visual Studio Code Marketplace soon, or you can install from the .vsix file in the linked release.

@xeger xeger closed this as completed Sep 20, 2023
@alexanderilyin
Copy link

Same happens on v1.10.0:

[Error - 12:36:00 PM] Cucumber Language Server client: couldn't create connection to server.
  Message: Request initialize failed with message: bad export type for `tree_sitter_c_sharp_external_scanner_create`: undefined
  Code: -32603 
❯ code --version
1.94.2
384ff7382de624fb94dbaf6da11977bba1ecd427
x64
⬢ [Docker] ❯ code --list-extensions --show-versions
Extensions installed on Dev Container @ desktop-linux:
42crunch.vscode-openapi@4.29.2
a-h.templ@0.0.29
codeium.codeium@1.22.5
cucumberopen.cucumber-official@1.10.0
davidanson.vscode-markdownlint@0.56.0
dbaeumer.vscode-eslint@3.0.10
golang.go@0.42.1
mongodb.mongodb-vscode@1.9.1
ms-vscode.live-server@0.4.15
ms-vscode.makefile-tools@0.11.13
postman.postman-for-vscode@1.3.0
redhat.vscode-yaml@1.15.0
ryanluker.vscode-coverage-gutters@2.12.0
yzhang.markdown-all-in-one@3.6.2

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

5 participants