title: gyp ERR! stack Error: `C:\Program Files (x86)\MSBuild\12.0\bin\msbuild.exe` failed with exit code: 1
body: <p>When I run <code>npm install</code>, I face the following error. I am not able to find the problem. </p>
  
  <p>I need some help in finding this issue. </p>
  
  <pre><code>d:\testing\node-sample-module\node_modules\ffi\node_modules\ref\node_modules\nan\nan_implementation_pre_12_inl.h(112): error C2668: 'v8::FunctionTemplate::New' :  ambiguous call to overloaded function [d:\TESTING\node-sample-module\node_modules \ffi\node_modules\ref\build\binding.vcxproj]
  C:\Users\SELVA\.nw-gyp\0.8.5\deps\v8\include\v8.h(3344): could be 'v8::Local&lt;v8::FunctionTemplate&gt; v8::FunctionTemplate::New(v8::FunctionCallback,v8::Handle&lt;v8::Value&gt;,v8::Handle&lt;v8::Signature&gt;,int)'
  C:\Users\SELVA\.nw-gyp\0.8.5\deps\v8\include\v8.h(3343): or v8::Local&lt;v8::FunctionTemplate&gt; v8::FunctionTemplate::New(v8::InvocationCallback,v8::Handle&lt;v8::Value&gt;,v8::Handle&lt;v8::Signature&gt;,int)' while trying to match the argument list '(int, v8::Local&lt;v8::Value&gt;,    v8::Local&lt;v8::Signature&gt;)'
  
  gyp ERR! build error
  gyp ERR! stack Error: `C:\Program Files (x86)\MSBuild\12.0\bin\msbuild.exe` failed with exit code: 1
  gyp ERR! stack at ChildProcess.onExit (c:\Users\SELVA\AppData\Roaming\npm\node_modules\nw-gyp\lib\build.js:267:23)
  gyp ERR! stack at ChildProcess.emit (events.js:98:17)
  gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:820:12)
  gyp ERR! System Windows_NT 6.1.7601
  gyp ERR! command "node" "c:\\Users\\SELVA\\AppData\\Roaming\\npm\\node_modules\\nw-gyp\\bin\\nw-gyp.js" "clean" "configure" "--target=0.8.5" "build" "--arch=ia32"
  gyp ERR! cwd d:\TESTING\node-sample-module\node_modules\ffi\node_modules\ref
  gyp ERR! node -v v0.10.35
  gyp ERR! nw-gyp -v v0.12.4
  gyp ERR! not ok
  </code></pre>
  
  <p>FYI, I am using windows 7 machine.</p>
  
  <p>Also, have the following installed:</p>
  
  <ul>
  <li><p>Visual C++ Redistributable 2013 (32 bit)</p></li>
  <li><p>Python 2.7.3 (env variable set to path/python.exe)</p></li>
  <li><p>Visual studio Express 2013</p></li>
  <li><p>.Net framework 4.5 SDK</p></li>
  </ul>
  
  <p>Thanks in Advance.</p>