I am doing the React Router lesson (https://www.codecademy.com/paths/full-stack-engineer-career-path/tracks/fscp-22-react-part-ii/modules/wdcp-22-react-router/lessons/intermediate-react-react-router/exercises/what-is-routing)
I was able to follow the steps all the way up to starting the live React app. So, I did npm install, installed
[email protected] , and imported
react-router-dom and rename it to
However, I am running into an issue when trying to start the React app locally using ‘npm start’
npm ERR! Missing script: “start”
npm ERR! Did you mean one of these?
npm ERR! npm star # Mark your favorite packages
npm ERR! npm stars # View packages marked as favorites
npm ERR! To see a list of scripts, run:
npm ERR! npm run
I have npm version 8.19.2
My package.json has “start”: “react-scripts start” so I’m unsure what’s going on?
I even tried to replace that line with “start”: “react-scripts --openssl-legacy-provider start” as I saw in another post, but I’m receiving the same error.