-
Notifications
You must be signed in to change notification settings - Fork 638
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: ENOENT: no such file or directory, stat '/path/to/repo/.git/index.lock'
#1588
Comments
Look at your .git folder |
Thanks, yeah, perhaps I should have been more detailed :/ The This just started in the last couple of days, for all my dozens and dozens of repos, all of which worked fine before and all of which still work fine from the normal I'm assuming it's something that's changed on my system, as the ungit codebase hasn't changed, but I was hoping for a hunch about where to start from someone more experienced with this codebase. I'm on Arch so I have frequent updates to the latest versions of system libraries, so right now it seems like an update to something ungit depends on is probably the issue. I'll try to track it down, as ungit is unusable for me at present, and if it is a problem relating to an updated system dependency then it seems possible at least that this may affect other users in the future. |
Update: initial results suggest it may be a node 21 thing. Everything works fine from inside a I'm not seeing anything immediately obvious in the Node 21 release announcement, but I am seeing a few folks posting what could be related issues. Will update if/when I can work out exactly what's caused; for now I can work around by using the LTS version of Node, and return to this when I've got some work done for today :) |
This is specifically happening for me in node |
I'm having the same issue on node
|
Probably this nodejs/node#52018 |
Just swinging back past to note that upgrading Node LTS (Iron) from Obviously a |
As a workaround on Linux I have to downgrade node to 18 brew install node@18
brew link --overwrite node@18 Something else I tried and did not work is |
For me works just with node v18 Any other version gives me errors |
for what it's worth, it stopped happening for me on v20.15 after it broke on v20.12 |
@simonwiles I have the same problem, I just have to downgrade the
|
crashes on v20.15.1 upd: works like a charm on v20.16.0 |
This was a node issue and has been fixed in https://github.com/nodejs/node/releases/tag/v20.16.0
|
In the last couple of days
ungit
crashes every time I load it, with the error:Does anyone have any hints about how to begin debugging this?
The text was updated successfully, but these errors were encountered: