Pure React Preview not loading

I imported a Mono repository into IDX from github. So the application works and I am able to see it when I go to the workspace url: 3000-idx-workspace etc…

But the preview won’t load as you can see in the screenshot. Any idea how I can fix this? My dev.nix file also doesn’t have any issues

That is an interesting one. I’m stumped. Maybe our resident Nix experts @davideast or @rody may have thoughts here :slight_smile:

1 Like

It looks like you’re using port 3000 and you need to bind to $PORT or 9002. Give that a try and let me know if it works.

That Worked for me!! I changed it in package.json and now I see it.

Thanks a Ton :bowing_man:

1 Like