I cloned a react application onto my system and ran following commands
npm install -g create-react-app npm install --save react react-dom
After that i ran
But 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.
node_modules directory exists. After a fresh clone, there will very likely be no
node_modules (since these are
npm install to ensure all deps are downloaded.
node_modules exists, remove it with
rm -rf node_modules and then run