If you type "yarn start" into the terminal after setting up the react-router-dom, it will not work.
In the package.json file, the script section says that the server will run using the vite application (line 7), which is scaffolded with yarn. This update was likely implemented to speed up the development process. You can find additional information here. To address the issue you're having, after you've cloned the repo and created an empty folder, type the following into the terminal (I used bold text to distinguish what you should type from the instructions:
Type yarn create vite ./, then press enter.
Press enter for your Package name, it will be added automatically for you.
Select React as your framework
Select JavaScript as your variant
Type yarn, then press enter
Type yarn dev, then press enter
You should see the local host link available. I hope this helps! :)
Problem with Yarn Start #128 #125 #124
If you type "yarn start" into the terminal after setting up the react-router-dom, it will not work. In the package.json file, the script section says that the server will run using the vite application (line 7), which is scaffolded with yarn. This update was likely implemented to speed up the development process. You can find additional information here. To address the issue you're having, after you've cloned the repo and created an empty folder, type the following into the terminal (I used bold text to distinguish what you should type from the instructions:
You should see the local host link available. I hope this helps! :)