Skip to content

An error "Cannot read properties of undefined (reading 'uri')" occurs after selecting "Azure Static Web Apps…" as the launch profile #928

@v-meilei

Description

@v-meilei

OS: Win 11
Build Version: 20241125.1
VS Code Version: VS Code 1.96.0/VS Code Insider 1.97.0

Repro Steps:

  1. Run ''git clone https://github.com/alexweininger/ReactSite" and then open this project in VS Code.
  2. Go to the "Run and Debug" menu by clicking the icon in the Activity Bar.
  3. Use the dropdown, select "Azure Static Web Apps…".
    Image
  4. Check whether no error occurs.

Expect:
No error occurs.

Actual:
An error occurs.
Image

More Info:

  1. This issue does not reproduce on VS Code Version: 1.95.3.
  2. This issue also reproduces on current release version v0.12.2.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions