cucumber / vscode

Official Visual Studio Code Extension for Cucumber
MIT License
65 stars 16 forks source link

Server Initialisation Failure #159

Closed DasInternaut closed 11 months ago

DasInternaut commented 1 year ago

Coincidental to a vscode update, I now see a server initialisation failure for this extension, on startup of vscode. Symptoms are a Server Initialisation error, with the following output:

[Error - 10:00:58 AM] Server initialization failed. Message: Request initialize failed with message: abort(Assertion failed: bad export type for tree_sitter_php_external_scanner_create: undefined). Build with -s ASSERTIONS=1 for more info. Code: -32603 [Error - 10:00:58 AM] 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_php_external_scanner_create: undefined). Build with -s ASSERTIONS=1 for more info. Code: -32603

Additionally, colour coding of my Gherkin stops working until I uninstall the extension and re-start.

Reproducing? Your best chance of reproducing the issue locally, I think, would be:

Version: 1.78.0 (user setup) Commit: 252e5463d60e63238250799aef7375787f68b4ee Date: 2023-05-03T20:09:00.748Z Electron: 22.4.8 Chromium: 108.0.5359.215 Node.js: 16.17.1 V8: 10.8.168.25-electron.0 OS: Windows_NT x64 10.0.19045 Sandboxed: No

LukasLewandowski commented 1 year ago

I have the same issue, probably after recent update of VSC

mojo2012 commented 1 year ago

Same here, just updated an bamm ... :-( Right in the moment I wanted to write some tests ...

nodeg commented 1 year ago

Duplicate of https://github.com/cucumber/vscode/issues/155.

klaukl commented 1 year ago

Happens for me but on MacOS 13.3.1

kieran-ryan commented 11 months ago

Thanks all for raising, closing as a duplicate of #155, please continue any discussion there, thanks!