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

App deploys successfully but rendering empty page (Unexpected Token) #172

Closed
3 of 5 tasks
YasirAlibrahem opened this issue Dec 28, 2023 · 2 comments
Closed
3 of 5 tasks

Comments

@YasirAlibrahem
Copy link

Category

Which of these applies to you? (Select all that apply)

  • I'm following the tutorial as-written from start to finish
  • I'm using a custom domain (note: not covered in tutorial)
  • I'm using React Router (note: not covered in tutorial)

Step

Which step of the tutorial do you want someone to help you with? (Select one)

  • Step number: (put the number here)
  • Something else

Links

Tell us where we can find your code and your GitHub Pages site:

Everything else

You can put whatever you want into this section.
After deployment, I'm getting a blank page. This issue points to a similar problem though different console error. It was resolved by implementing HashRouter, which I tried, but still facing the same problem. I'm getting an Unexpected Token

Image

@YasirAlibrahem
Copy link
Author

Fixed it. I'm running this as a user site, and I didn't need the "homepage" variable in the package.json file.

@gitname
Copy link
Owner

gitname commented Dec 28, 2023

Thanks for following up!

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

No branches or pull requests

2 participants