Using create-react-app's npm startwith AWS Cloud9
Asked Answered
C

1

6

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.

Cube answered 27/3, 2018 at 19:45 Comment(2)
You did run npm install first, right?Virginiavirginie
@Virginiavirginie Yes. I also ran it again, just to be sure--still no luck.Cube
F
6

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.

Fortna answered 11/9, 2018 at 15:55 Comment(1)
Thanks a ton for that answer! I spent hours figuring out how to show the running app using the built in browser in aws cloud9.Dovelike

© 2022 - 2024 — McMap. All rights reserved.