redhat-developer / redhat-developer/vscode-yaml

Extension activation fails on Visual Studio Code for the Web

Open
#929 8 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
830
Forks
260
Avg merge
5h 43m
Merged PRs (30d)
1

Description

Describe the bug

The extension activation fails on Visual Studio Code for the Web with Linux. With the following error in the browser Developer Tools console: Activating extension 'redhat.vscode-yaml' failed: Cannot access 'l' before initialization.. Same issue could not be observed on macOS.

Expected Behavior

Extension should initialize successfully.

Current Behavior

Extension fails to initialize and error in the description can be seen in the developer tools console.

Steps to Reproduce

  1. Go to https://vscode.dev/
  2. Install the YAML extension
  3. Create a new *.yaml file

Environment

  • Windows
  • Mac
  • Linux
  • other (please specify)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the failure at vscode.dev by installing the YAML extension, creating a .yaml file, and checking the browser Developer Tools console. Trace the extension activation path in the TypeScript project and compare Linux web behavior with macOS; done means the extension initializes successfully without the reported error.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.