title: node-sass\vendor\win32-x64-59\binding.node is not a valid Win32 application
body: <p>I am getting this weird node-sass error when my webpack is building an app. It does not happen in the console it happens in the compiled file. </p>
  
  <p><a href="https://paste.laravel.io/b9d2883d-8c12-4309-aafb-d151bc5edea6" rel="nofollow noreferrer">https://paste.laravel.io/b9d2883d-8c12-4309-aafb-d151bc5edea6</a></p>
  
  <p>In my entry point, there is only one line <code>console.log('test')</code> which executes but then in the there is this unknown module second module that is being generated that is throwing an error. </p>
  
  <p>Here is my webpack config.</p>
  
  <p><a href="https://paste.laravel.io/721cb01c-445b-41c6-8fc3-57e4359b496f" rel="nofollow noreferrer">https://paste.laravel.io/721cb01c-445b-41c6-8fc3-57e4359b496f</a></p>
  
  <p>utils file has just small helper  </p>
  
  <pre><code>const path = require('path')
  
  exports.resolve = function(dir) {
    return path.join(__dirname, '../../../', dir)
  }
  
  exports.assetsPath = function(_path) {
    return path.join('/', _path)
  }
  </code></pre>
  
  <p>I don't understand whats happening as inside terminal everything compiles without a single error, then browser throws this stupid exception. I have tried already rebuilding modules but it doesn't help.</p>
  
  <p>Could someone please help me to understand what am I doing wrong?</p>