Closed emkayy closed 1 year ago
All craco is doing here is injecting the webpack config you specified into create react app. This would be a webpack issue rather than a craco one.
I also encountered the same problem, you can consider the development of webpack configuration notes, to be completed after the development of the build, uncomment, often webpack configuration is online some of the details of optimization, the development process can be temporarily ignored
What's happening When using craco start instead of react-scripts start, the development server gets stuck at the console output
Starting the development server...
but never startingCRACO version "@craco/craco": "^7.1.0", "react-scripts": "5.0.1",
on nodejs 18.16.1
CRACO config
package.json
Additional information
Using eslint
If I change *only"
craco start
back toreact-scripts start
, the server starts again, however eslint warnings don't appear in the terminal. If I also changecraco test
back toreact-scripts test
, eslint warnings get logged in the terminal again, even when only runningreact-scripts start
.Console output:
Logging the webpack configuration in the craco.config.js looks ok.