create-react-app tutorial from reactjs.org differs than cmd line options
New to react following: https://reactjs.org/docs/create-a-new-react-app.html
It says to do:
npx create-react-app my-app
cd my-app
npm start
Yet, when running npx create-react-app my-app I get an output that says:
We suggest that you begin by typing:
cd my-app yarn start
Can this be updated in the docs or in create-react-app to prevent confusion (especially for someone new) this difference is really daunting.
This behavior because user has installed yarn. If user hasn’t yarn, cra will use npm by default and this command will work. I think better just will write about it.
Interesting. I guess I will uninstall yarn. Don't recall installing it personally. Might have been a long time ago.