-
Notifications
You must be signed in to change notification settings - Fork 7
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
Crash when installing: enoent ENOENT: no such file or directory
#2460
Comments
enoent ENOENT: no such file or directory
Get the same thing on rev 38.120.1 and 38.124.2 with pre-commit 3.8.0 and 4.0.1. Running an ubuntu 24.04 LTS image in WSL2. And this was all working fine a couple of days ago (albeit probably a slightly older rev). |
Same here... No idea what's going on Happen on WSL2 but also when running precommit on Jenkins CI. npm error path /home/****/.cache/pre-commit/repob_i34tjc/ode_env-default/lib/node_modules/npm/node_modules/sprintf-js/dist/.gitattributes
npm error errno -2
npm error enoent ENOENT: no such file or directory, lstat '/home/****/.cache/pre-commit/repob_i34tjc/ode_env-default/lib/node_modules/npm/node_modules/sprintf-js/dist/.gitattributes'
npm error enoent This is related to npm not being able to find a file. Tested rev: 38.120.1 and rev: 38.122.0 |
Same for me. |
Looking at logs
Could it be related to recent Node 23 ? Where is it defined ? renovate ? precommit ? |
Temporary workarround
|
An alternate workaround I rolled yesterday was moving from jobs:
ci:
runs-on: ubuntu-latest
steps:
- uses: suzuki-shunsuke/[email protected] |
Ok... Though now the |
im having similiar issue on ubuntu 22.04, notice that it always cuts a letter cuts |
there's nothing we maintainer can do here, we don't use this, so it needs a community fix. |
Perhaps it is a pre-commit or nodeenv issue? |
With this
pre-commit-config.yaml
:When installing
pre-commit
withpre-commit==4.0.1
, a coworker of mine is getting this error:Any ideas what went wrong here? I think Renovate should at least nice-ify the failure message hit
The text was updated successfully, but these errors were encountered: