Started running into ```FileNotFoundError: [Errno ...
# general
s
Started running into
Copy code
FileNotFoundError: [Errno 2] No such file or directory: '/Users/yjabri/.cache/pants/setup/bootstrap-Darwin-arm64/pants.Xbli35/install/lib/python3.9/site-packages/pants/backend/python/subsystems/pytest.lock'
when running
./pants test foo/::
. I've tried deleting
~/.cache/pants
and
.pants.d
but no luck. Any idea what might be causing this?
Clearing
.pids
seem to work. Does
pants
have anything like a clean command?
h
No, it doesn't
I
pkill -f pantsd
if I want to kill pantsd
that is an odd error though
s
Maybe it was a corrupted file issue? I may have cancelled my
rm -fr ~/.cache
command because it was taking too long. Today I saw
Copy code
an error has occurred: InvalidManifestError: 
=====> /Users/yjabri/.cache/pre-commit/repoivx6045x/.pre-commit-hooks.yaml is not a file
Check the log at /Users/yjabri/.cache/pre-commit/pre-commit.log
When trying to run
pre-commit
. Running
rm -fr ~/.cache/pre-commit
resolved that.