Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README.md #126

Closed
wants to merge 1 commit into from
Closed

Update README.md #126

wants to merge 1 commit into from

Conversation

marcia1997
Copy link

No description provided.

@terrastarks
Copy link

terrastarks commented Sep 22, 2023

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:

  1. Type yarn create vite ./, then press enter.
  2. Press enter for your Package name, it will be added automatically for you.
  3. Select React as your framework
  4. Select JavaScript as your variant
  5. Type yarn, then press enter
  6. Type yarn dev, then press enter

You should see the local host link available. I hope this helps! :)

@marcia1997 marcia1997 closed this by deleting the head repository Mar 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants