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 trialHector Menduiña
23,873 PointsI don't get install bcrypt locally in mac os x
I don't get install locally bcrypt module in mac os x. Only globally. Any idea to fix problem?
4 Answers
Ronald Hunter
17,474 Pointswell to install locally, need to cd (change directory) into the folder you want the package to go too and then npm install while in the target folder.
arshin
17,770 PointsUpdate / Reinstall NodeJS and that should resolve the issue. Ensure that python 2.7 (version under 3.0 but above 2.5) is installed.
João Serra
3,615 Pointswhat's the error it gives you? does your error have anything to do with xcodebuild? if so try running this command before installing it
sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer
Tech Team
Courses Plus Student 10,402 PointsIf upgrading xcode and its command line tool doesn't work for you, you can fix it with a temp solution:
$ cd /usr/local/lib $ sudo ln -s ../../lib/libSystem.B.dylib libgcc_s.10.5.dylib
Answer found here: https://github.com/nodejs/node/issues/2933