react-app-rewired: command not found
See original GitHub issueI install this package in ‘devDependencies’,
"devDependencies": {
"customize-cra": "^1.0.0",
"react-app-rewired": "^2.1.6",
"typescript": "^3.7.5"
}
then config everything as readme.md said, then ‘npm start’,
"scripts": {
"start": "react-app-rewired start",
"build": "react-app-rewired build",
"test": "react-app-rewired test",
"eject": "react-scripts eject"
},
i got this error:
> react-app-rewired start
sh: react-app-rewired: command not found
npm ERR! code ELIFECYCLE
npm ERR! syscall spawn
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:19 (1 by maintainers)
Top Results From Across the Web
sh: react-scripts: command not found after running npm start
Enter your project folder and then run npm start . If that doesn't work try running npm install and then npm start ....
Read more >react-scripts: command not found error [Solved] | bobbyhadz
Run the `npm install react-scripts` command to solve the react-scripts: command not found error. If necessary delete your `node_modules` directory and your ...
Read more >react-app-rewired - npm
How to rewire your create-react-app project · 1) Install react-app-rewired · 2) Create a config-overrides.js file in the root directory · 3) 'Flip' ......
Read more >[Solved] react-scripts: command not found - ItsJavaScript
The react-scripts: command not found error mainly occurs if the dependencies are not installed or if the react-scripts is not installed.
Read more >How to fix the react-scripts command not found Error - Reactgo
How to fix the react-scripts command not found Error · First, delete the node_modules folder in your project (if you have one) using...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Did you run
npm installafter adding react-app-rewired to your dev dependencies?I just had the same issue on windows. Project was using yarn. I deleted node_modules and yarn.lock. Ran
npm i- got'react-app-rewired' is not recognized as an internal or external commandRannpm i react-app-rewiredand everything worked again.Also had to to reinstall node-sass manually, so something properly broke.
Had this in the log.