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 trialShunpan Lo
Full Stack JavaScript Techdegree Student 19,126 PointsProblem to install bcrypt on local machine of windows 8
I cannot install bcrypt on my local computer running windows 8. I have installed python and visual studio as requested. However, there is still error after running "npm install bcrypt". Please help. The error message is "...Could not find WindowsSDKDir from the registry......failed to locate: "CL.exe"...."
Shunpan Lo
Full Stack JavaScript Techdegree Student 19,126 PointsI have install node.js and also npm. It also works without problem. Please help.
2 Answers
Rodney Solomon
3,160 Pointsi have the issue of installing it on windows 10.
/QUOTE npm ERR! Failed at the bcrypt@0.8.5 install script 'node-gyp rebuild'. npm ERR! Make sure you have the latest version of node.js and npm installed. npm ERR! If you do, this is most likely a problem with the bcrypt package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node-gyp rebuild
Trevor Woodman
Courses Plus Student 13,354 PointsFor Windows, you need this unfortunately: https://developer.microsoft.com/en-us/windows/downloads/windows-10-sdk
Jarred Miles
22,560 PointsJarred Miles
22,560 PointsDo you have node.js installed? Npm (Node Package Manager) is used to download node packages such as bcrypt. You can download node from the node.js website.