-
-
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
Error when running Jest: EISDIR: illegal operation on a directory #11135
Comments
I have the same issue on my system.
|
I don't have access to a windows machine, so can't really do anything here. But swallowing |
@SimenB, yes, your idea works e.g. |
great, wanna send a PR? |
Probably not as I feel kinda intimidated by the amount of steps in PR guide as well as the need for CLA. Not soon'ish anyway. |
Fix for issue jestjs#11135
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. |
🐛 Bug Report
Jest throws an error:
The error disappears after going to node_modules\jest-config\build\Defaults.js and replacing line:
cacheDirectory: (0, _getCacheDirectory.default)(),
with:
cacheDirectory: 'Z:\\temp',
To Reproduce
Expected behavior
Jest should run a test.
Link to repl or repo (highly encouraged)
https://github.com/betfix/temp-jest-error
envinfo
The text was updated successfully, but these errors were encountered: