Any issues with the course with new create-react-app?

I noticed the course uses an outdated version of create-react-app@1.5.2

Has anyone had any issues following course with new create-react-app?

1 Like

Yes, I just tried to do npm start
And I had the
npm ERR! missing script: start

1 Like

The problem is, I think, for me, that the react-app folder is barely empty : only
folder node_modules and two json files.

2 Likes

This tutorial helped me : Create First React App Using Node Package Manager ( Npm ) - React For Beginners [18] - YouTube

2 Likes

I experienced the same issue at the beginning of the course and uninstalled that deprecated version and downloaded the latest create-react-app and have till now no problem following the videos and running codes taught in video !

2 Likes

You should use ‘npx create-react-app my-app-name’ to create a react app now instead of the old version. Doing this, I think I ran into one issue in the beginning where App.js was a functional component but Mosh had a class. I just changed my App.js to look like Mosh’s and there was no issue at all. In the Advanced Topics section at the end of the course, Mosh explains the new create-react-app and the differences.

3 Likes