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.
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.
> email@example.com install /home/treehouse/workspace/node_mod ules/bcrypt > node-pre-gyp install --fallback-to-build node-pre-gyp WARN Using needle for node-pre-gyp https dow nload [bcrypt] Success: "/home/treehouse/workspace/node_modules /bcrypt/lib/binding/bcrypt_lib.node" is installed via rem ote npm WARN saveError ENOENT: no such file or directory, ope n '/home/treehouse/workspace/package.json' 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 ' /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. + firstname.lastname@example.org 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