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

JavaScript npm Basics (retiring) Installing Packages with npm Installing Local Packages

Problem 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"...."

Jarred Miles
Jarred Miles
22,560 Points

Do 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.

I have install node.js and also npm. It also works without problem. Please help.

2 Answers

Rodney Solomon
Rodney Solomon
3,160 Points

i 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