Pages

Tuesday, 1 January 2013

Installing bcrypt with Windows 8 and Visual studio 2012

Okay so I was using this tutorial here.. which wanted me to use bcrypt.. I am using Windows 8 and Visual Studio 2012 (I have the 2010 C++ stuff installed too as TooLateNate says to on the node-gyp github. Anyway I couldn't get it running with:
npm install -d
view raw gistfile1.txt hosted with ❤ by GitHub
as bcrypt just wouldn't play ball.. but thanks to finding this thread here I managed to solve the problem with typing
npm install -d --msvs_version=2012
view raw gistfile1.txt hosted with ❤ by GitHub
So if you are having trouble with anything and you have my problem just type npm install PACKAGE --msvs_version=2012
npm install PACKAGE --msvs_version=2012
view raw gistfile1.txt hosted with ❤ by GitHub
So for bcrypt
npm install bcrypt --msvs_version=2012.
view raw gistfile1.txt hosted with ❤ by GitHub
happy trails

No comments:

Post a Comment