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
-
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.js
and although this works, it works on the initialstart
but on subsequentstart
s 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
.babelrc
file instead, but the outcome is similar.I'm using
CRACO
andenv-cmd
.Any one experienced something similar and have any insights?
Beta Was this translation helpful? Give feedback.
All reactions