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 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.

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...