title: node.js error after switching to Windows - Error: %1 is not a valid Win32 application
body: <p>I switched from OSX to Windows 7. A project I'm coding is throwing an error which I believe to be related to the switch.</p>
  
  <p>The first line below is the line causing the error to be thrown:</p>
  
  <pre><code>  if (!/not find/i.test(e.message)) {
      throw e
    }
  </code></pre>
  
  <p>The error is:</p>
  
  <pre><code>Error: %1 is not a valid Win32 application.
  </code></pre>
  
  <p>Could somebody tell me how to get this line working in Windows?</p>