-
Notifications
You must be signed in to change notification settings - Fork 429
Open
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugcontainersIssue in vscode-remote containersIssue in vscode-remote containers
Description
- VSCode Version: 1.84.2
- Local OS Version:
Edition Windows 11 Pro
Version 23H2
Installed on 2023-09-29
OS build 22631.2715
Experience Windows Feature Experience Pack 1000.22677.1000.0
But since my code exists inside WSL:
$ uname --all
Linux AntPC-MRDGH2821 5.15.133.1-microsoft-standard-WSL2 #1 SMP Thu Oct 5 21:02:42 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
> wsl -v
WSL version: 2.0.9.0
Kernel version: 5.15.133.1-1
WSLg version: 1.0.59
MSRDC version: 1.2.4677
Direct3D version: 1.611.1-81528511
DXCore version: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp
Windows version: 10.0.22631.2715
WSL OS on Microsoft store - https://www.microsoft.com/store/productId/9PDXGNCFSCZV?ocid=pdpshare
- Remote OS Version: (Dev container image) - mcr.microsoft.com/devcontainers/typescript-node:20
- Remote Extension/Connection Type: Containers
- Logs:
Git error log
> git push --follow-tags origin rewrite-sapphire:rewrite-sapphire
/usr/bin/gh auth git-credential get: 1: /usr/bin/gh: not found
node:internal/modules/cjs/loader:1078
throw err;
^
Error: Cannot find module '/tmp/vscode-remote-containers-8f2fc77a-6da9-4b12-8ddd-7131bd3304b9.js'
at Module._resolveFilename (node:internal/modules/cjs/loader:1075:15)
at Module._load (node:internal/modules/cjs/loader:920:27)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
at node:internal/main/run_main_module:23:47 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}
Node.js v18.15.0
Missing or invalid credentials.
Error: connect ENOENT /tmp/user/1000/vscode-git-6819b2c906.sock
at PipeConnectWrap.afterConnect [as oncomplete] (node:net:1494:16) {
errno: -2,
code: 'ENOENT',
syscall: 'connect',
address: '/tmp/user/1000/vscode-git-6819b2c906.sock'
}
Missing or invalid credentials.
Error: connect ENOENT /tmp/user/1000/vscode-git-6819b2c906.sock
at PipeConnectWrap.afterConnect [as oncomplete] (node:net:1494:16) {
errno: -2,
code: 'ENOENT',
syscall: 'connect',
address: '/tmp/user/1000/vscode-git-6819b2c906.sock'
}
/usr/bin/gh auth git-credential erase: 1: /usr/bin/gh: not found
node:internal/modules/cjs/loader:1078
throw err;
^
Error: Cannot find module '/tmp/vscode-remote-containers-8f2fc77a-6da9-4b12-8ddd-7131bd3304b9.js'
at Module._resolveFilename (node:internal/modules/cjs/loader:1075:15)
at Module._load (node:internal/modules/cjs/loader:920:27)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
at node:internal/main/run_main_module:23:47 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}
Node.js v18.15.0
remote: No anonymous write access.
fatal: Authentication failed for 'https://github.com/MRDGH2821/Discord-Ban-Utils-Bot.git/'
Steps to Reproduce:
git clone https://github.com/MRDGH2821/Discord-Ban-Utils-Bot/inside WSL and switch torewrite-sapphirebranch- Install
ghcli, authenticate & usegh auth setup-git - Install Docker on Windows and enable WSL integration
- Install GPG4Win on Windows. Setup git commit signing wherever applicable (WSL/Windows/Both)
- Reopen the repo in container
- Do some commits
- Use VS Code's git menu to push
- Encounter error
Does this issue occur when you try this locally?: No
Does this issue occur when you try this locally and all extensions are disabled?: No
This issue happens rarely, and gets resolved when I rebuild the container. But I thought it would be better if I bring attention to this.
I earlier asked about it here cli/cli#8344 and here too https://github.com/orgs/devcontainers/discussions/88
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugcontainersIssue in vscode-remote containersIssue in vscode-remote containers
