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 Setting up with Create React App

Server is serving a generic React App, not Guil's App

Upon following the instructions in this video (several times) my local server is continuously serving the generic React App. I've tried forcing it to serve Guil's app by navigating to that directory and running npm start but errors fly everywhere. I've tried creating a new react app but it always creates the generic one and I'm back at square one. Have I missed something?

I actually figured it out. I created a react app then deleted the generic "src" directory and replaced it with Guil's. All necessary files are there.

Mike Hardy
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Mike Hardy
Full Stack JavaScript Techdegree Graduate 16,511 Points

Your solution below worked for me too!

"I actually figured it out. I created a react app then deleted the generic "src" directory and replaced it with Guil's. All necessary files are there."

Mahmoud Talass
Mahmoud Talass
9,274 Points

I am still confused, can you please explain

2 Answers

This worked perfect thank you for your solution I was almost giving up on this

nadybee
seal-mask
.a{fill-rule:evenodd;}techdegree
nadybee
Full Stack JavaScript Techdegree Student 10,072 Points

I figured this out.. When you 'npx create-react-app Scoreboard.' It creates a generic app, then you need to move the starter files into the Scoreboard folder and replace the generic folders with the starter folders.