microsoft / microsoft/vscode-remote-release

Attached container config: Protect against syntax errors in config

Open
#2,689 3 comments 1 reaction 1 assignee View on GitHub

@chrmarti is already working on this.

Since Apr 6, 2020.

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

Description

Hello,
Since I updated Docker Desktop to 2.2.0.5(43884), "Dev Containers" terminal reports the following error when I try to open a folder in a running container:

[0 ms] Start: Resolving remote
[1 ms] Setting up container azfunc-node

[19 ms] Error: Can not add index to parent of type property
        at m (c:\Users\yvand\.vscode\extensions\ms-vscode-remote.remote-containers-0.106.0\dist\extension.js:1:52999)
        at Module.R (c:\Users\yvand\.vscode\extensions\ms-vscode-remote.remote-containers-0.106.0\dist\extension.js:1:57710)
        at c:\Users\yvand\.vscode\extensions\ms-vscode-remote.remote-containers-0.106.0\dist\extension.js:1:1049226

The exact steps are the following:

  • I attach to a running container
  • It opens succesfsully a folder by default (always the same) (it contains a NodeJS project)
  • I click "Open a folder" and choose any different folder (I tested with a new empty one)
  • It fails with the error above

I use image mcr.microsoft.com/vscode/devcontainers/typescript-node:12.
I tried to create a new container from this image but the error is the same

Docker Desktop 2.2.0.5(43884)
ms-vscode-remote.remote-wsl Version: 0.42.4

VSCode:
Version: 1.43.2 (user setup)
Commit: 0ba0ca52957102ca3527cf479571617f0de6ed50
Date: 2020-03-24T07:38:38.248Z
Electron: 7.1.11
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Windows_NT x64 10.0.18363

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.