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 Basics (2018) Introducing Props Iterating and Rendering with map()

I'm trying to run my react code but i keep getting this error. error Couldn't find a package.json file in "C:\\Users\\dj

error Couldn't find a package.json file in "C:\Users\djfun\Desktop\NucampGit\3-React\teamtreehouse" info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. while trying to run my code. I have run it successfully previously a few days ago when i started. I don't know why i have this error. Kindly help fix. Thanks

Reggie Williams
Reggie Williams
Treehouse Teacher

Hey Oladimeji Shekoni which command are you using and are you sure you're in the directory with the app.js & package.json file?

Actually i noticed package.json file is missing from the project file and i have to download it again using npm install. Now i have a package.json file and it's still not running! Please do you have like a telegram or discord group where one can seek for instant help?

1 Answer

Reggie Williams
STAFF
Reggie Williams
Treehouse Teacher

Oladimeji Shekoni there are slack groups for our techdegrees but not a general slack channel. Are you getting a different error now? Often times someone else has had the error and you can paste it to google to find where someone else has previously asked and gotten an answer.