-
Notifications
You must be signed in to change notification settings - Fork 62
Installation error on Windows 7 #122
Comments
Hi, error message: gyp ERR! configure error npm ERR! System Windows_NT 6.1.7601 I'm really interested in trying TopoJSON, but I can't manage to install it. |
Could you run This might offer some more detail. |
Please see if this works for you. |
I have nearly same error. Nothing to do... Tried with VS2010. Cleaned EVERYTHING. Tried with VS2013. Same error... If you have any idea, would be great. C:\Developpement\workspace\needubro>npm install contextify -verbose -msvs_version=2013
C:\Developpement\workspace\needubro\node_modules\contextify>node "C:\Developpement\nodejs\node_modules\npm\bin\node-gyp-bin.... npm verb unsafe-perm in lifecycle true |
Referencing: |
I have the exact same problem as @sparqueur. Running on Windows 7, trying to install contextify. I installed visual studio express as well as python python --version I tried passing in the version of msvs didn't work. |
Python 3.x does not work; 2.7 is required. |
Hi, i also tried with 2.7 with no more succes... :(
|
@domenic I tried just now installing 2.7. it is failing with the same error C:\workspaces>npm install -g contextify --verbose
C:\Users\IBM_ADMIN\AppData\Roaming\npm\node_modules\contextify>node "C:\IBM\node npm ERR! System Windows_NT 6.1.7601 |
Are you sure you're using 2.7?
|
when I type python --version on the command line it says 2.7
|
I do see the spot you're referring to @brianmcd . My path no longer references that old location. I have no idea how to clear it out so that contextify looks for 2.7. I restarted my machine, all of the system environment variables have the new 2.7 version. any advice? for example,
|
|
Thanks @kkoopa. Made it a little further this time C:\Users\IBM_ADMIN\AppData\Roaming\npm\node_modules\contextify>node "C:\IBM\node Done Building Project "C:\Users\IBM_ADMIN\AppData\Roaming\npm\node_modules\cont Build FAILED. "C:\Users\IBM_ADMIN\AppData\Roaming\npm\node_modules\contextify\build\binding.s
Time Elapsed 00:00:00.06 npm ERR! System Windows_NT 6.1.7601 |
Hard to tell from the paste above, but the main issue appears to be this: C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.Cpp.InvalidPlatform Looking into this issue for the solution: #50 |
msbuild was not found in PATH. After doing a registry lookup, it found the 32-bit version and tried running that, but you need the 64-bit version. Make sure it is available and that it gets used. |
@kkoopa I ended up installing the 32 bit version of node and it appears to install the module. However, node is installing under a weird path, not my NODEJS or NODE_PATH that is set in my environment. So I'm currently googling to try to specify the path to node that the npm install should use. Unrelated to contextify, but if you have advice I'm all ears. :) for example, the output says:
when the node path variable is set to something like C:/node |
Got it working, had to set the node global variable, there was a prefix set that was causing the installation into another directory. I'm good now, just had to do those few steps I mentioned. python 2.7 and node 32 bit version |
Hi,
The text was updated successfully, but these errors were encountered: