1
6 Comments

Anyone wanna help me with aws problem?

Hey right now im trying to deploy my mern app on an ec2 instance and I'm getting a weird issue. When i deploy it and I go to my public ip that was given from the ec2 instance I get a blank page instead of my react app. Has anyone experience this before? Like is it something to do with my configuration or anything? I used a youtube video as a tutorial haha

on July 25, 2020
  1. 2

    You don't need an EC2 to host a React app. AWS S3 and AWS CloudFront is a cheaper and preferred solution, once you won't have to deal with servers, reverse proxy configurations or anything else.

  2. 1

    Try a hello world html without any react. It smells like a missing JS import/ missing script to include react of sorts. Take a look at the web browser console if you see any errors.

    1. 1

      I figured it out it was because of some npm packages that I had in production got all fucked up so I had to delete some of them... im such a noob lol

  3. 1

    This comment was deleted 4 years ago

    1. 1

      Thanks haha I ended up figuring it out but I'll definitely look into that later though

  4. 2

    This comment was deleted 6 years ago

    1. 1

      wow I love this response haha I ended up getting it working but thanks for your comment.. you look like you have a lot of experience in this I appreciate the help

  5. 1

    This comment was deleted 3 years ago

    1. 1

      but i mean i have a react app and a node app... rn i think my react app is the one thats giving me problems because I'm able to see the connection to the mongo db on mongo atlas and everything..... idk i think im fine in the node department haha