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.
Jason ChoiFront End Web Development Techdegree Graduate 21,159 Points
There are bunch of other packages installed in node_modules folder
When I installed bcrypt on workspaces, there's a bunch of other packages (about 30 packages) installed in the node_modules folder. (such as are-we-there-yet, boom, growl, hawk, graceful-fs, punycode, tough-cookie, wrappy). Are these packages that are automatically installed when bcrypt is installed? or is there something wrong going on with my workspaces?
Joel Bardsley31,238 Points
What you're seeing is normal, don't worry. Packages often rely on other packages to function as intended.
If you take a look at the package information for bcrypt you'll see a Dependencies section, which has two packages listed. If you click into one of those, i.e. node-pre-gyp, you'll see that that has further dependencies, so installing bcrypt means you're also downloading and installing all the dependencies to get bcrypt to work properly.
Hope that makes sense. If you need any further information, let me know.