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 Basics 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
seal-mask
.a{fill-rule:evenodd;}techdegree
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?

Reggie Williams
seal-mask
.a{fill-rule:evenodd;}techdegree
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.