Opening repository in command prompt results in catastrophic error
See original GitHub issueDescription
Unable to open repository in command prompt from the desktop app. Restarting the app results in the same error every time.
Version
1.0.12
GitHub Desktop version: 1.0.12
OS version: Windows 6.1.7601 (Windows 7 Ultimate SP1 64-bit)
Steps to Reproduce
Expected behavior: Opened in command prompt
Actual behavior: Error on the desktop app
Reproduces how often: 100%
Logs
Error: spawn where ENOENT at exports._errnoException (util.js:1050:11) at Process.ChildProcess._handle.onexit (internal/child_process.js:193:32) at onErrorNT (internal/child_process.js:367:16) at _combinedTickCallback (internal/process/next_tick.js:80:11) at process._tickCallback (internal/process/next_tick.js:104:9)
Version: 1.0.12 OS: Windows 6.1.7601
Additional Information
Issue Analytics
- State:
- Created 6 years ago
- Comments:8 (5 by maintainers)
Top Results From Across the Web
WMI: Repository Corruption, or Not? - Microsoft Community Hub
If WMI is corrupted, you can receive various errors and symptoms, ... From an elevated command prompt run "winmgmt /verifyrepository ".
Read more >Recovering Deleted Files in GitHub - Rewind Backups
Learn how to recover deleted git files with the command line, the Github desktop app or web UI, or full backups and restores....
Read more >11 Ways to Fix "The System Cannot Find The Path Specified ...
Run an SFC Scan Then type cmd and press Enter. On the Command Prompt, type sfc /scannow and press Enter. If SFC finds...
Read more >debugfs(8) - Linux manual page - man7.org
-c Specifies that the file system should be opened in catastrophic mode, in which the inode and group bitmaps are not read initially....
Read more >Altium Designer is crashing when trying to Open any project
Getting this error: HRESULT: [0x88990012], Module: [SharpDX.Direct2D1], ApiCode: [D2DERR_WRONG_FACTORY / WrongFactory], Message: The objects ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’m seeing the same issue as the OP. Actually, I’ve seen it no matter what shell I opt for - Git Bash, Powershell, or Command Prompt.
Manual check confirms, cmd.exe is in c:\Windows\System32
The exact error message received is
@laZaru5ap thanks for the report.
The code to launch
cmd
is rather straightforward:My gut feeling is that your
PATH
value isn’t configured as expected.Could you open a command prompt, run these two commands and attach the output here:
This is what it looks like on one of my developer VMs: