microsoft / microsoft/vscode-azurestaticwebapps

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

Open
#928 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

AT-CTI investigate
Dominant language
TypeScript
Stars
99
Forks
39
Avg merge
3d 7h
Merged PRs (30d)
2

Description

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.

Contributor guide

No contributing guide indexed for this repository

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

Start by reproducing the error in the VS Code Run and Debug menu with the linked ReactSite project, selecting the “Azure Static Web Apps…” launch profile. Trace the Azure Static Web Apps launch-profile handling from that entry point and compare behavior with VS Code 1.95.3; done means the profile selection produces no undefined-uri error on current VS Code releases.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, typescript, vscode
Domain
cloud, devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.