You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using CRACO and everything worked fine, until two days ago I upgraded to react-scripts v5. Now the craco start works and I can develop, but the craco build fails with a vague message that only points to the entire src directory.
I checked my code, and no change is made that contains ....
Step 13/20 : RUN npm run build
---> Running in be63fc0279e8
> [email protected] build
> craco build
Creating an optimized production build...
Failed to compile.
Module not found: Error: Can't resolve '...' in '/Company/Project/src'
The command '/bin/sh -c npm run build' returned a non-zero code: 1
How can I debug this error?
The text was updated successfully, but these errors were encountered:
I'm suffering from a different issue where Craco builds with an error match.loader.options.plugins is not a function. This is related to the upgrade of Webpack with the newest CRA release. Not sure what to do yet though.
Hello
I'm using CRACO and everything worked fine, until two days ago I upgraded to react-scripts v5. Now the
craco start
works and I can develop, but thecraco build
fails with a vague message that only points to the entiresrc
directory.I checked my code, and no change is made that contains
...
.How can I debug this error?
The text was updated successfully, but these errors were encountered: