geddy gen auth on windows (error installing bcrypt) #444

Closed
liammclennan opened this Issue Aug 26, 2013 · 5 comments

Projects

None yet

4 participants

@liammclennan

Running geddy gen auth on windows I get:

C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\Win32\Microsoft.Cpp.Win32.Targets(511,5): error MSB8008: Specified platform toolset (v110) is not installed or invalid. Please make sure that a supported PlatformToolset value is selected. [d:\work\geddypluralsight\web-applications-geddy\web-applications-geddy-m3-intro\examples\blog\node_modules\bcrypt\build\bcrypt_lib.vcxproj]

jake aborted.

To get bcrypt to compile I need to use the --msvs_version=2012 argument

npm install bcrypt --msvs_version=2012

which installs bcrypt 0.7.6. geddy-passport depends upon 0.7.~. I was hoping that geddy gen auth would use the installed bcrypt but instead it deletes it, tries to install bcrypt without the required argument and fails.

Is there a way to make geddy gen auth use the existing installed bcrypt package or to get geddy gen auth to pass the --msvs_version=2012 argument?

@haveaguess

Thanks!

@mde
mde commented Oct 5, 2013

Might be possible to force the correct install instead of relying on the deps in package.json. What version was the already-installed one?

@mde

No action on this, closing.

@mde mde closed this Mar 10, 2014
@raphaeltm

I recently had a similar problem. Following these steps fixed it:

https://github.com/TooTallNate/node-gyp/#installation

@mde

@raphaeltm, thanks for chiming in on this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment