I am a new Developer trying to Learn React , so in this process I am creating multiple react projects So I have created react projects using npx create-react-app , so every time I create react app , it takes a long time create it , is there any way , to speed up the creation of react app using npx create-react-app, as I am creating lot of different apps for learning purposes
2
votes
1 Answers
1
votes
Issue is reported here and added to next milestone.
If you want temporary patch you can follow this comment
- Install patch-package https://www.npmjs.com/package/patch-package#set-up
- Open the webpack file:
node_modules/react-scripts/config/webpack.config.js - Add cache to the eslint plugin
new ESLintPlugin({
cache: true,
...
})
- Run the patch package script
yarn patch-package react-scripts - Normally run the app now.
Remove the patch later after fix.