-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
Permission denied on cacheDirectory even with --no-cache #2141
Comments
There's an idea to tackle it in #2231. We'll keep you posted. |
Aaaand it's closed (see #2303). Turns out |
Could I request that this be re-opened? I don't understand how Even if Including the UID in the default cache directory (e.g., |
If you'd like to send a PR to add the uid to the default cache paths including tests, I'm happy to accept that. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
It is not possible to run
jest
on the same host that was previously runjest
by other user. I'm setting up my Ubuntu 16.04 with Jenkins and when the job executesjest
, the/tmp/jest
directory is created and is owned by thejenkins
user.Then, when I try to run
npm test
on my local copy the execution fails, even with the --no-cache flag active.I've fixed this issue by setting to
/tmp
thecacheDirectory
in thepackage.json
. I think it's the only solution when several users want to run Jest on the same machine. It could be the default setting.Or it could append the username to the
cacheDirectory
like/tmp/jest-cesar
, but it seems very strange.The text was updated successfully, but these errors were encountered: