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 npm Basics (retiring) Installing Packages with npm Installing Local Packages

Cannot install bcryptjs.

treehouse:~/workspace$ npm install bcryptjs
npm WARN saveError ENOENT: no such file or directory, open '/home/treehouse/workspace/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/home/treehouse/workspace/package.json'
npm WARN workspace No description
npm WARN workspace No repository field.
npm WARN workspace No README data
npm WARN workspace No license field.

  • bcryptjs@2.4.3
    updated 1 package and audited 440 packages in 3.31s
    found 0 vulnerabilities

2 Answers

I also had this but if click on the folder section (left hand side) and click button 'refresh' the folder should appear.

I'm still having issue accessing it though as it says i have an internet connection issue. This is obviously not true but unclear why it's happening

correction::

i did install by using command npm install. This installed all the available modules i believe, however there are still time out persistent

is disconnects often? I don't see it as an internet connection issue but rather a processing power issue. Any ideas?

I'm having this same issue. When I click on node_modules folder it disconnects from the workspace.