-
-
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
jest cannot resolve source-map-generator module when using configuration file #6514
Comments
I just solved this issue on my setup. I suppose you're running a TypeScript-only app, here's what I had before: In
I assumed I don't need to add In
I hope that helps! |
Confirmed. Weird but this fixes the issue. Thank you! |
@sbstnmsch I don't find it all that weird: my previous declaration for |
OK understood. I have a typescript-only setup here and forgot about that there still can be |
…source-map.js' solved by (jestjs/jest#6514)
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
Due to #6509 I decided to go with two different configuration files, one for my main and one for my renderer process in Electron.
Sadly this is causing issues aswell.
To Reproduce
Create a
jest
configuration file and run it usingjest --config=/path/to/config
.Error log
Run
npx envinfo --preset jest
The text was updated successfully, but these errors were encountered: