ungit icon indicating copy to clipboard operation
ungit copied to clipboard

`Error: ENOENT: no such file or directory, stat '/path/to/repo/.git/index.lock'`

Open simonwiles opened this issue 4 months ago • 10 comments

In the last couple of days ungit crashes every time I load it, with the error:

2024-03-08T03:57:20.668Z - error: Error: ENOENT: no such file or directory, stat '/path/to/repo/.git/index.lock'
    at statSync (node:fs:1659:25)
    at FSWatcher.<anonymous> (node:internal/fs/recursive_watch:160:28)
    at FSWatcher.emit (node:events:519:28)
    at FSWatcher._handle.onchange (node:internal/fs/watchers:215:12)
Stopped keeping ungit alive

Does anyone have any hints about how to begin debugging this?

simonwiles avatar Mar 08 '24 04:03 simonwiles