After three days trying to install jsdom on Windows Server 2008 R2 x64 i finally decided to post here as all the solutions given in the other similar posts did not work for me.
Here's what I've done so far on my x64 OS:
- Installed Python (v2.7.8) and added it to the system path (C:\Python) and created a new variable PYTHON=C:\Python\python.exe which is definitely where the python executable is.
- Installed MS VS C++ 2010 Express Version.
- Installed Windows SDK 7.1.
my software versions are:
- node.js: v0.10.33
- npm: v1.4.28
- node-gyp: v1.0.1
When i try to install jsdom ("npm insall jsdom" on project folder) i get the following error:
I can read in every similar post that it is python environment variable issue but i already registered them:
I also tried installing node.js v0.8.25 with same result, so i went back to v0.10.33.
I also tried setting "npm config set python C:\Python\" before launching npm install.
I don't know what else to try..