Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Using create-react-app's npm startwith AWS Cloud9

I am attempting to use create-react-app in AWS Cloud9. While I have no problems creating the app, when I try to run npm start I just get this screen. When I clicked on "Why am I seeing this?" I was taken to this page, which led me to turn on HTTPS. While HTTPS was enabled, it did not fix the issue. create-react-app's Github page suggested that CHOKIDAR_USEPOLLING=true is required for virtual machines, but that also did not fix the issue: it now creates a blank page, as shown here. Finally, thinking that perhaps the issue was due to some accidental change, I deleted the directory and made a fresh one, but the issue persisted.

Any insight on how this can be resolved would be appreciated.

like image 406
Zarin Loosli Avatar asked Mar 27 '18 19:03

Zarin Loosli


1 Answers

I had a similar issue. For me I was just going about it the wrong way and I can preview my application by going to Preview at the top of the IDE and then Preview Running Application.

like image 177
LydiaMoo Avatar answered Oct 16 '22 20:10

LydiaMoo