Create-react-app introduces antd error report on demand

The project created by

npx create-react-app xxx has no eject. It is done according to the on-demand introduction in the antd document, and an error is reported after yarn start.
Cannot find module"C:\ Users\ Administrator\ Desktop\ react-road\ node_modules\ react-scripts/config/webpack.config.dev" . By the way, which is better than dva or create-react-app mentioned on antd"s official website?


I have the same problem
clipboard.png
says that the version does not support it, but it has not been solved


react-scripts destroys react-app-rewired after upgrading to 2.1.2: https://github.com/timarney/r...

then react-app-rewired upgrades to 2.x and directly kills all helpers: https://github.com/timarney/r...

https://github.com/ant-design...

Menu