Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

devcontainer CLI seems to do nothing after being installed #10323

Open
rzhao271 opened this issue Sep 26, 2024 · 3 comments
Open

devcontainer CLI seems to do nothing after being installed #10323

rzhao271 opened this issue Sep 26, 2024 · 3 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug containers Issue in vscode-remote containers

Comments

@rzhao271
Copy link

  • VSCode Version: 1.94.0-insider
  • Local OS Version: Windows 11
  • Remote OS Version: N/A
  • Remote Extension/Connection Type: Containers

Steps to Reproduce:

  1. Run "Dev Containers: Install devcontainer CLI"
  2. I closed all my pwsh instances. I also tried rebooting my laptop.
  3. Start a new integrated pwsh terminal and run devcontainer-insiders --help
  4. 🐛 Get the message "Checking for Dev Containers CLI" repeated twice. Nothing seems to happen after. I'm unsure why the script is checking for the CLI when afaik it is the CLI.

Does this issue occur when you try this locally?: Yes
Does this issue occur when you try this locally and all extensions are disabled?: N/A

@joshspicer
Copy link
Member

As another data point, I was not able to repro. My steps were (on my Win 11 Dev Box):

  1. Confirm I did not have any devcontainer or devcontainer-insiders on my PATH
  2. Run the Install devcontainer CLI command
  3. Close and reopen VS Code insiders

Image

@chrmarti
Copy link
Contributor

@rzhao271 You are running pwsh in WSL, correct?

@chrmarti chrmarti added bug Issue identified by VS Code Team member as probable bug containers Issue in vscode-remote containers labels Sep 27, 2024
@rzhao271
Copy link
Author

@chrmarti I was running it in pwsh outside of WSL.
When I run it in WSL, it works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue identified by VS Code Team member as probable bug containers Issue in vscode-remote containers
Projects
None yet
Development

No branches or pull requests

3 participants