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
The file in the staging area is lost due to an error #1129
Comments
I have the same exact issue. node 16.14.2 [2022-04-06T20:48:11.949Z] [STARTED] Preparing lint-staged... Error: kill ENOSYS I reverted back to 12.3.4 and that still works. |
I almost lost a couple of hours work because of a similar error. Upgraded to version 12.3.7 this morning and when I was going to commit changes it errored and my changes were gone. OS Windows 10
I reverted back to 12.3.4 as @rexkenley suggested and now it works as expected. |
This PR that was introduced in 12.3.6 seems a likely cause: #1117. As stated above, try |
Chiming in to say that we've run into this issue and it seems specific to Windows. 12.3.7 works fine on my setup (OSX), but our other dev experienced errors when trying to restore the stash on Windows. Reverting to 12.3.4 worked. Relevant logs with
|
Can confirm this is happening on Windows...
|
update version to 12.4.0 |
Had this happen to me on 12.4.1 |
i get 465
|
$ lint-staged Error [ERR_MODULE_NOT_FOUND]: Cannot find package '/Users/huangjihua/github/ts-dom-to-image/node_modules/.pnpm/lint-staged@13.0.3/node_modules/lint-staged/node_modules/execa/' imported from /Users/huangjihua/github/ts-dom-to-image/node_modules/.pnpm/lint-staged@13.0.3/node_modules/lint-staged/lib/execGit.js |
is it resolved ? |
I believe the original issue is resolved, yet. I'll close this ticket for now. |
NodeJS: v16.14.2
package.json
ERROR:
node:internal/errors:464 ErrorCaptureStackTrace(err); ^
Error: kill ENOSYS at kill (node:internal/process/per_thread:220:13) at Arra
I'm sorry I can't provide a complete log for the time being
I can only provide some information based on the search records
Because it doesn't happen 100%
When I tried the second time, I succeeded
I only remember that I restored sass version 1.49.11 - > 1.49.10
I used pnpm and I'm not sure if it's relevant
Because the error message contains node_ modules
If I find it next time, I will provide a complete log
The text was updated successfully, but these errors were encountered: