{"id":399,"hash":"5555281cbc5f2d53e70eb18431ac5c36163cc852be883fcf473817de9d6deb81","pattern":"sh: react-scripts: command not found after running npm start","full_message":"I cloned a react application onto my system and ran following commands\n\nnpm install -g create-react-app\nnpm install --save react react-dom\n\nAfter that i ran \n\nnpm start \n\nBut it threw the above mentioned error, It is working fine on my other system from which i pushed it on github. But it is not working on any other system after cloning whether windows or mac.","ecosystem":"npm","package_name":"reactjs","package_version":null,"solution":"Check if node_modules directory exists.  After a fresh clone, there will very likely be no node_modules (since these are .gitignore'd).\n\nSolution\nrun npm install (or yarn) to ensure all deps are downloaded.\n\nAlternative Solution\nIf node_modules exists, remove it with rm -rf node_modules and then run npm install (or yarn).","confidence":0.95,"source":"stackoverflow","source_url":"https://stackoverflow.com/questions/40546231/sh-react-scripts-command-not-found-after-running-npm-start","votes":393,"created_at":"2026-04-19T04:51:05.203415+00:00","updated_at":"2026-04-19T04:51:05.203415+00:00"}