Skip to content

Initialisation failure in GitLab Web IDE from v1.19 #1191

@kieran-ryan

Description

@kieran-ryan

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: -32603

And 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: -32603

Expected 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

  1. Open GitLab Web IDE on a project
  2. Install the extension
  3. Observe the error

Environment

  • Mac - through Safari
  • Windows - through Edge

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions