I am learning React and while implementing my first react app, it shows me this error:
error Command "start" not found.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
when I run:
yarn start
I have installed create-react-app globally on my machine.
I also tried to run npm start but it shows the same error, while searching on internet, I came to know that npm version 5.0 above may not work properly, and that is why I tried yarn start but it still shows the same error.
yarn run start?create-react-appglobally if you are have node verison5.2+. See this and docsnpx create-react-app my-app --use-yarnor "--use-npm". "do i always have to install react": What do you mean? "React" is a UI library, yes it will be automatically get installed locally in each project you start.npx create-react-app my-app --use-yarn or "--use-npm"worked.