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
Ryan Doran7,815 Points
bcrypt isn't downloaded
When I type npm install bcrypt into the console, this is the response. And bcrypt is not one of the folders under the NPM basics folder. There are many new folders, but not bcrypt. Also, it keeps shutting down the workspace.
> firstname.lastname@example.org install /home/treehouse/workspace/node_mod
> node-pre-gyp install --fallback-to-build
node-pre-gyp WARN Using needle for node-pre-gyp https dow
[bcrypt] Success: "/home/treehouse/workspace/node_modules
/bcrypt/lib/binding/bcrypt_lib.node" is installed via rem
npm WARN saveError ENOENT: no such file or directory, ope
npm notice created a lockfile as package-lock.json. You s
hould commit this file.
npm WARN enoent ENOENT: no such file or directory, open '
npm WARN workspace No description
npm WARN workspace No repository field.
npm WARN workspace No README data
npm WARN workspace No license field.
added 68 packages from 49 contributors and audited 97 pac
kages in 10.87s
found 0 vulnerabilities
Did you see the teacher's notes?
Issues installing bcrypt?
If you are getting errors in the console while installing bcrypt, run
npm install bcryptjsinstead. Then require bcryptjs in app.js