ENOENT: no such file or directory #1751
Description
After playing around with container volumes and cloning pull requests into container volumes, my docker build crashed with this error:
ENOENT: no such file or directory, lstat no such file /root/.vscode-dev-container' .... node_modules/vscode-dev-containers/container-features'
Sorry I dont have the whole log output anymore, the path is reconstructed from my memory. And I cant reproduce the error anymore after I found this post. So I switched my version from 0.295.0 to 0.292.0 and back to 0.295.0 and I cant reproduce the error anymore but I thought it maybe helps to report this.
Edit: I managed to reproduce it: log.txt
Error: ENOENT: no such file or directory, lstat '/root/.vscode-remote-containers/dist/dev-containers-cli-0.295.0/dist/node_modules/vscode-dev-containers/container-features'
going back one version fixes it again.
- VSCode Version: 1.79.2 (user setup)
- Local OS Version: Windows 10
- Local chip architecture: x86
- Reproduces in: Remote - Containers
- Name of Dev Container Definition with Issue: Any devcontainer from the templates, most of the times the Rust one.
Steps to Reproduce:
- Dev Containers: Clone [Repository/Github Pull Request] in [Named] Container Volume (any of the three options)
- Container crashes with the above Error
I tried resetting my wsl ubuntu, reinstalling vscode and the extension, deleting all volumes, deleting my docker build cache nothing worked.
It seems to be something with the devcontainer.json feature installations.