Babel caching error in start & build after upgrading to react-scripts 5.0.1 #12586
Unanswered
paolavness
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Aloha,
After upgrading to react-scripts 5.0.1 I'm getting the Babel caching error
To resolve, I added cache commands to
babel.config.jsand although this works, it works on the initialstartbut on subsequentstarts fails. To resolve the latter, I need to toggle between different caching commands before eachstart(or simply adding a new line and saving the file (!!!))). Both of these resolutions fail to resolve the caching error occurring onbuild.My
babel.config.js:Also tried using
.babelrcfile instead, but the outcome is similar.I'm using
CRACOandenv-cmd.Any one experienced something similar and have any insights?
Beta Was this translation helpful? Give feedback.
All reactions