Skip to content
This repository has been archived by the owner on Mar 18, 2024. It is now read-only.

Pop up an error "Cannot read property 'application' of undefined" when executing "Open Dashboard in Browser" from command palette #149

Open
v-xinda opened this issue Sep 9, 2021 · 3 comments
Assignees
Labels

Comments

@v-xinda
Copy link

v-xinda commented Sep 9, 2021

OS: All
Build Version: 0.4.0
Regression: Not a regression

Repro Steps:

  1. Install tye using the following command.
dotnet tool install -g Microsoft.Tye --version "0.10.0-*" --add-source https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet5/nuget/v3/index.json
  1. Download the project by the command "git clone https://github.com/pratiksanglikar/tye-demo" -> Open the project in VS Code -> Tye-run.
  2. F1 -> Tye: Open Dashboard in Browser.
  3. Check whether the Tye Dashboard page is opened.

Expect:
The Tye Dashboard page is opened.
image

Actual:
Pop up an error and no Tye Dashboard page is opened.
image

More Info:
This issue also reproduces on the previous Tye extension released build.

@v-xinda v-xinda added the AT-CTI label Sep 9, 2021
@pratiksanglikar
Copy link
Contributor

@v-xinda, I tried this scenario on both Windows and macOS but was not able to reproduce it.
What configuration do you have?
Can you please post the output of tye --version ?

@v-xinda v-xinda changed the title Pop up an error "Cannot read property 'application' of undefined" when executing "Open Dasnboard in Browser" from command palette Pop up an error "Cannot read property 'application' of undefined" when executing "Open Dashboard in Browser" from command palette Sep 14, 2021
@pratiksanglikar
Copy link
Contributor

The short-term fix for 0.5.0 is to hide this command from the command palette since it needs to show the dropdown with a list of running Tye applications to choose from.
The longer-term fix is tracked at #156

@v-xinda
Copy link
Author

v-xinda commented Apr 10, 2023

Verified this issue with the latest build 20230320.1, it still reproduces for now. More details get from below:
Tye Version: 0.12.0-alpha.23206.1+11889fbe15425f905ecf9e46d9c631452c1d34aa
.NET Core: 7.0.104
VS Code Version: 1.78.0-insider (user setup)
Docker Desktop: 4.18.0

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants