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

Jordan Kittle
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Jordan Kittle
Full Stack JavaScript Techdegree Graduate 20,138 Points

This workspace keeps saying Workspace Connection lost. My internet connection is fine.

It keeps happening over and over. There are also a ton of node modules installed in the workspace besides bcrypt. Maybe it is slowing it down too much.

1 Answer

Robert Manolis
seal-mask
STAFF
.a{fill-rule:evenodd;}techdegree
Robert Manolis
Treehouse Guest Teacher

Hey Jordan Kittle, if this keeps happening, it is recommended that you try shutting everything down, wait fifteen minutes, and then try again. And then if the problem persists, reach out to help@teamtreehouse.com with the Workspace number, that's the number at the end of the URL in the address bar. :thumbsup:

Jordan Kittle
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Jordan Kittle
Full Stack JavaScript Techdegree Graduate 20,138 Points

Thanks Robert, I noticed it only happened with installing modules via npm resulted in many many modules being installed. Using bcryptjs instead of bcrypt helped. There was one other place where it happened again, and it was again when there were many modules added via the npm install command. This was already covered in the teachers notes and I need to do a better job at making it a point to read and understand those before asking questions! Thank you for your response.