Npm install stuck in AWS for React application
I have tried to deploy my React application in AWS. I chose t2.micro instance type. While doing npm install -f, installation getting stuck in same place for multiple time. I tried multiple instance (t2. micro) but issue still persist. Can someone suggest what actually went wrong?
CORS using AWS Apigateway with EC2
Hey there stackoverflow community, I am trying to setup an aws API Gateway that links to a nodeJS app running on EC2 instance, it works fine with postman or a direct url link, but won’t work when the API is called from my reactjs app (using axios), even running locally. I obviously enabled CORS as follow in my API Gateway and deployed it: