kitze / custom-react-scripts

[DEPRECATED, use customize-cra] Allow custom config for create-react-app without ejecting
https://custom-react-scripts.netlify.com
MIT License
993 stars 97 forks source link

can't use react-app-rewired #122

Closed DayDarkDark closed 6 years ago

DayDarkDark commented 6 years ago

when I use react-app-rewired, like this : https://mobile.ant.design/docs/react/use-with-create-react-app-cn has error : $ react-app-rewired start module.js:538 throw err; ^

Error: Cannot find module 'react-scripts/package.json'

RIP21 commented 6 years ago

Because it's not create-react-app. It's custom-react-scripts. Please watch https://github.com/facebookincubator/create-react-app And use them.

kitze commented 6 years ago

@DayDarkDark If you want to use react-app-rewired you need to use the original create-react-app and react-scripts.