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 trialbrandon may
7,904 PointsConnecting 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
Front End Web Development Techdegree Graduate 84,738 PointsThe 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.
brandon may
7,904 PointsI do that. It starts create react app. It just wont load my atom files. Just has the react symbol on a dark page
Brendan Whiting
Front End Web Development Techdegree Graduate 84,738 PointsMaybe you're looking at the default page create by create-react-app. Does it say "Edit src/App.js and save to reload." below the React icon?
brandon may
7,904 PointsYes!!
Brendan Whiting
Front End Web Development Techdegree Graduate 84,738 PointsThatβs great. Then itβs working. You need to modify the React code to have it use the other code you wrote elsewhere in Atom.
brandon may
7,904 PointsHow 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