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

Seth Kroger
Seth Kroger
56,413 Points

Another way for Windows to install bcrypt

I ran into even more errors installing bcrypt even after installing Python 2.7 but discovered a new way to do this while searching for a fix.

Run your favorite command shell as Administrator and run.

npm install --global --production windows-build-tools

It will install Python 2.7 for you along with the Visual Studio Build Tools that are also required and configure everything for you. You won't even need the --python flag afterward.

3 Answers

Thanks for a good tips , Seth Kroger

Thanks Seth, but still having problems - here is the result after node app.js is entered into the TreeHouse workspace.

"Syntax Error: Unterminated template literal" ... then 10 more problems underneath.