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 trialAzucena Martinez
2,610 PointsHello, I need help in understanding what step comes first. Do I use create-react-app first and then import the files?
Ok so I've done a few things to try on my own. I have started a project using create-react-app and have attempted to store the downloaded files in there. This leads me to having double the amount of files. Do I download the zip folder and open the first folder with course-directory, and then inside of there use create-react-app?
3 Answers
Cooper Runstein
11,850 PointsDownload, the files, go into the course folder you want to use, and run "npm install" in the terminal. Everything that create-react-app would install for you is contained in the package.json, and npm will install all of that. You only need to run create-react-app if you're starting your own project.
Azucena Martinez
2,610 PointsOh, thank you that makes sense now!
Seokhyun Wie
Full Stack JavaScript Techdegree Graduate 21,606 PointsThe package.json
file has pieces of information of what to install when you type npm install in terminal (don't forget the terminal needs to be at the current folder). In package.json, everything in the devDependencies
and dependencies
will be installed with it's given version once you type npm install
.