microsoft / microsoft/vscode-remote-release

Can't use devcontainer cli on macos

Open
#7,856 1 comment 2 reactions 1 assignee View on GitHub

@chrmarti is already working on this.

Since Jan 24, 2023.

bug containers
Dominant language
Dockerfile
Stars
4.2k
Forks
470
Avg merge
1d 1h
Merged PRs (30d)
1

Description

I've tried to install devcontainer cli via vscode. But if I want to use the devcontainer command following error appears:

/usr/local/bin/devcontainer: line 52: /private/var/folders/p0/rtj9cdjx5_s91b54h9pm4rp40000gn/T/AppTranslocation/04CDBFDE-9ED4-4672-A563-6BAE4FB4B165/d/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper: No such file or directory
  • VSCode Version: 1.74.2
  • Local OS Version: macos ventura 13.1
  • Remote Extension/Connection Type: Containers
  • Logs:

Steps to Reproduce:

  1. Go to command palet (command + shift + p)
  2. Type "Devcontainers: Install devcontainer CLI" to install devcontainer cli
  3. After devcontainer cli is installed, type "devcontainer --help" in the command line
    Following error will appear:
/usr/local/bin/devcontainer: line 52: /private/var/folders/p0/rtj9cdjx5_s91b54h9pm4rp40000gn/T/AppTranslocation/04CDBFDE-9ED4-4672-A563-6BAE4FB4B165/d/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper: No such file or directory

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

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.