I am trying to install phantomjs-node module on a Windows 7 (64 bit) machine. There seems to be node-gyp rebuild error while installing "weak" module.
I have followed the node-gyp windows installation steps and ensured I have python installed and its path set correctly.
I have also visual c++ and other requirements needed for node-gyp. Sadly I couldn't get the node-gyp rebuild error fixed.
I have the following installed
- node - 0.8.14(64 bit)
- python - 2.7.3(64 bit)
- Microsoft Visual C++ 2010 (64 bit, also installed 32bit just in case, since 64 bit didn't help)
- Visual Studio 2010 (Pro) and Visual Studio 2012 (express, both web and desktop)
- Windows SDK 7.1
The error I keep getting while installing the weak module is:
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.Cpp.InvalidPlatform.Targets(23,7): error MSB8007: The Platform for project 'weakref.vcxproj' is invalid. Platform='x64'. You may be seeing this message because you are trying to build a project without a solution file, and have specified a non-default Platform that doesn't exist for this project.
I am stuck with the above issue, having tried all the links and had all the node-gyp requirements installed correctly. Help much appreciated.