简体   繁体   中英

Error installing “Contextify” module in node.js in windows 8

I installed jsdom 3.1.2 module which has dependency on contextify. So I am now trying to install contextify but it show error in cmd: key error: "C:\\Program Files (x86)\\Microsoft visual studio 2012.0\\VC\\bin

I already installed python 2.7 and set environment variable name is "Pythonpath" and values is "c:\\python27". I also installed MS visual studio 2013 desktop and set the environment variable: variable name is "GYP_MSVS_VERSION" and variable values is "C:\\Program Files (x86)\\Microsoft visual studio 2012.0\\VC\\bin"

Can somebody tell me where is the problem? Thank you.

GYP_MSVS_VERSION should be set to the version, not the path. So in your case the command would be set GYP_MSVS_VERSION=2013 .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM