Master React Installation - Need Info

Hi All,

I am learning react

I have the Node version 14.15.5 , after that i installed create-react-app@1.5.2 as you said to follow.

Then i created “react-app” . once created i run the app using the command “npm start” but i am getting the following error

npm ERR! missing script: start
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Ponmurali\AppData\Roaming\npm-cache_logs\2021-02-22T05_40_29_634Z-debug.log

Kindly tell me what i need to do.

Regards
Murali

After creating the “react-app” did you move to the react-app folder?

cd react-app
npm start

Ya i done it. after entering the >cd react-app i gave npm start

I have not much experience with React (it’s still on my list to learn).

Are there project files created in the react-app folder?
cd react-app
ls -l
node --version
npm --version

Is there more info in logfile C:\Users\Ponmurali\AppData\Roaming\npm-cache_logs\2021-02-22T05_40_29_634Z-debug.log?

Hi! I hope you found a solution already, but since I came across the same issue I’ll post my solution if anybody in the future needs it!

I uninstalled create-react-app, in terminal I went into another folder where I keep all my projects, and re-installed it in that one with npx create-react-app my-app instead of installing it globally like in the video.
Worked both for win and mac