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 trialJason Choi
Front End Web Development Techdegree Graduate 21,159 PointsThere are bunch of other packages installed in node_modules folder
Hello.
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?
Thank you!
1 Answer
Joel Bardsley
31,249 PointsHi Jason,
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.
Jason Choi
Front End Web Development Techdegree Graduate 21,159 PointsJason Choi
Front End Web Development Techdegree Graduate 21,159 PointsThank you Joel!