Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript React Components (2018) Build Modular Interfaces with Components Separating Function Components Into Modules

Connecting atom to create react app

No matter what i try i cannot get atom to connect to the create react app page ( http://localhost:3000/ ). I think it's halfway connected because atom-live-server isn't working correctly either.

4 Answers

Brendan Whiting
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Brendan Whiting
Front End Web Development Techdegree Graduate 84,735 Points

The way I recommend serving your app in development is to run npm start in your terminal. This could be a terminal built into your text editor or just the terminal that comes on your machine. Then it will probably launch your browser automatically or you open one and visit http://localhost:3000/. You should not need to use the live-server feature of Atom.

I do that. It starts create react app. It just wont load my atom files. Just has the react symbol on a dark page

Yes!!

How do i do that? I switched to vscode. Easier. Plus i can open terminal directly in the editor. But it does the exact same thing, bringing up the default page