sh: react-scripts: command not found
I'm tried with this error and spend huge time.
my node and npm version are
**-Masum:myApp userName$ node --version
v10.15.1
**-Masum:myApp userName$ npm --version
6.4.1
**-Masum:myApp userName$ npm start
[email protected] start /Users/userName/dev/myApp react-scripts start
sh: react-scripts: command not found
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! [email protected] start: react-scripts start
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in: npm ERR! /Users/masum/.npm/_logs/2019-01-30T12_17_20_182Z-debug.log
Try posting the full log, you might have more chance of a response. There's no information to diagnose anything, just a notification that the script failed.
Hi @mdmasumbillah, it sounds like your dependencies are not correctly installed.
How did you install CRA? Can you share the project with us?
@roberthchapman and @mrmckeb Thanks for your reply. Already solved this.