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

"listing directory" keeps popping up

For some reason I keep having issues with this specific project file. The live server shows "listing directory" instead of the scoreboard. I didn't make any changes to the project file. Anyone knows what could be the problem?

Daniel Bowen
Daniel Bowen
8,577 Points

Late answer to be sure, but I had to not use Live Server on VS Code to get around this. The reason this has happened is because using the "npx create-react-app" command includes all of the server files it needs to run from command line.

Using "npm start" from the VS Code terminal will launch the website with no issues, so even if this is too late to help you, hope this helps others who come after.