-
-
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
Cannot find module 'babel-core' #4891
Comments
This is most probably related to your package manager, not Jest. I'll close this but feel free to discuss. |
By package manager you mean |
I have the same issue, also I've tried to change jest version and babel-core without any success so, I'll try to figure out why and then post here. |
I have the same issue as well. |
Hi @JasonJJFS, I did these changes above and worked, not as I was expecting but worked: I've created a .babelrc file and included this:
Then, in my package.json file, I removed the node This worked for me and I hope that can help you. |
I have the same issue and there are my project doesn't use |
add to
create empty file named add to |
if you build |
In the changelog:
|
But as long as you install |
Thank you very much, It works :) |
Installing babel-core bridge did the trick for me. Thanks |
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. |
Hello, I've updated jest from 20.0.4 to latest (21.2.1) and got this error for all my tests:
Strange thing is that
babel-core
(v 6.26.0) is installed and listed in my package.json file.Rolling back to 20.x solves the problem. I see that there are a lot of similar issues but they all seems related to babel v7, while I've problems with babel v6.
The text was updated successfully, but these errors were encountered: