Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

JavaScript React by Example Setting up With Create React App Setting up the Project

Ashcon Khoubyari
Ashcon Khoubyari
12,907 Points

Trouble getting npm start and yarn start to work...

I can't seem to get create-react-app to open on my environment even after running npm start in multiple different paths in the terminal... not sure what to do as errors keep arising saying a package.json file is not found

Ashcon Khoubyari
Ashcon Khoubyari
12,907 Points

I was able to figure this out by running npm install on the folder of rsvp_final but not sure if this is the way

Kris Byrum
Kris Byrum
32,534 Points

Sounds like yarn or npm install is needed on this. Either of these, will install the dependencies you need that yarn/npm start needs.

Paul Tibbert
Paul Tibbert
2,533 Points

I'm having a similar problem. The packages are installing but I'm getting the following error:

/Users/henrymorrow/Documents/starter-files/RSVP starter files/node_modules/react-scripts/scripts/start.js:33 const { ^

Peter Gess
Peter Gess
16,553 Points

I am having the same issue. Tried saving it as a dependency via --save but still nothing on npm start after running npm install and npm yarn

1 Answer

Can you please tell us step by step what are you doing? I didn't have any problem, but perhaps me or other mates here could be able to help you...