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-preset-react-app' #84
Comments
What version of react scripts are you using? |
Latest |
@FezVrasta sounds as stupid suggestion but really try to remove node_modules and install them again. |
I already tried to clean the I think this module should list |
Curious can you try that 1.2.6 release and see what happens? |
I get the same error (only when I run I'm using Yarn 1.x now, just to let you know. |
Try delete node_modules and lock files then install deps again |
Already tried, anyway, it's conceptually wrong to refer to a dependency without having it defined in your package.json. |
@Guria removing the lock file, in addition to node_modules worked for me (yarn v1.0.1). Thanks. |
I tried again with a fresh project and it worked, so weird. I guess it's solved |
I was able to resolve this by doing what @Guria suggested
AND running
|
@Guria 's solution works ! |
How can we lock files? |
@jcabrerazuniga Sorry, it means to delete the files that the package managers create (that have |
thx. it`s work |
I had to update my
to
to resolve this issue. |
Thank you, I solved my problem with your help. |
For me, removing |
I get this error when I run the tests:
Actually, I can't seem to find
babel-preset-react-app
inside mynode_modules
root folder. I see it's located insidenode_modules/react-scripts/node_modules/babel-preset-react-app
.Maybe
create-react-app
changed the way the dependency is required?The text was updated successfully, but these errors were encountered: