How to Solve Missing Credentials
For Git version < v2.36.1, enter this command:
1
git config --global credential.helper "/mnt/c/Program\ Files/Git/mingw64/libexec/git-core/git-credential-manager.exe"
Note that the path should be where Git is installed on your device. After that, the error message listed below should gone.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Missing or invalid credentials.
Error: connect EACCES /run/user/1000/vscode-git-431ee25d9d.sock
at PipeConnectWrap.afterConnect [as oncomplete] (node:net:1157:16) {
errno: -13,
code: 'EACCES',
syscall: 'connect',
address: '/run/user/1000/vscode-git-431ee25d9d.sock'
}
Missing or invalid credentials.
Error: connect EACCES /run/user/1000/vscode-git-431ee25d9d.sock
at PipeConnectWrap.afterConnect [as oncomplete] (node:net:1157:16) {
errno: -13,
code: 'EACCES',
syscall: 'connect',
address: '/run/user/1000/vscode-git-431ee25d9d.sock'
}
/mnt/c/Program\ Files/Git/mingw64/libexec/git-core/git-credential-manager.exe erase: 1: /mnt/c/Program Files/Git/mingw64/libexec/git-core/git-credential-manager.exe: not found
remote: Repository not found.
fatal: Authentication failed for 'github.com/Spring23FSE/finalproject-squirrel.git'
Reference link: https://learn.microsoft.com/en-us/windows/wsl/tutorials/wsl-git
Enjoy Reading This Article?
Here are some more articles you might like to read next: