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 Components (2018) React Component Patterns The React Challenge: Solution

I get an error and the file does not exist when I try to download or install prop types library.

I try to install prop types library into visual studio and I get an error

C:\Users\james> npm install --save prop-types npm WARN saveError ENOENT: no such file or directory, open 'C:\Users\james\package.json' npm WARN enoent ENOENT: no such file or directory, open 'C:\Users\james\package.json' npm WARN james No description npm WARN james No repository field. npm WARN james No README data npm WARN james No license field.

  • prop-types@15.7.2 updated 1 package and audited 6 packages in 5.275s found 0 vulnerabilities

I have tried download the file on the react site and I still get the same results