-
Notifications
You must be signed in to change notification settings - Fork 255
Closed
redhat-developer/yaml-language-server
#1165Description
Describe the bug
Launching the extension within the GitLab Web IDE (installed through the Open VSX registry) fails to initialise from v1.19. Selecting to 'install a specific version' to an earlier release - such as 1.18.0 - launches successfully.
[Error - 14:55:03] Server initialization failed.
Message: Request initialize failed with message: oc.existsSync is not a function. (In 'oc.existsSync(x.join(n,`bundle.l10n.${r}.json`))', 'oc.existsSync' is undefined)
Code: -32603
[Error - 14:55:03] Starting client failed
Message: Request initialize failed with message: oc.existsSync is not a function. (In 'oc.existsSync(x.join(n,`bundle.l10n.${r}.json`))', 'oc.existsSync' is undefined)
Code: -32603And with the variance of Js.existsSync rather than oc.existsSync with the pre-release version.
[Error - 15:01:11] Server initialization failed.
Message: Request initialize failed with message: Js.existsSync is not a function. (In 'Js.existsSync(T.join(n,`bundle.l10n.${r}.json`))', 'Js.existsSync' is undefined)
Code: -32603
[Error - 15:01:11] Starting client failed
Message: Request initialize failed with message: Js.existsSync is not a function. (In 'Js.existsSync(T.join(n,`bundle.l10n.${r}.json`))', 'Js.existsSync' is undefined)
Code: -32603Expected Behavior
- With default behaviour of installing the latest release, that the extension initialises and runs successfully
Current Behavior
- With default behaviour of installing the latest release, the extension fails to initialise
- User must select an earlier compatible release - and know to do so
Steps to Reproduce
- Open GitLab Web IDE on a project
- Install the extension
- Observe the error
Environment
- Mac - through Safari
- Windows - through Edge
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Done