title: How do I fix 'No native build was found for runtime=electron abi=73 platform=win32glibc arch=x64'?
body: <h1>The error</h1>
  
  <p>I'm using webpack version <code>4.41.1</code>, webpack-dev-server version <code>3.8.2</code> and electron version <code>6.0.12</code>, and once my build is complete I use this code to open the electron app</p>
  
  <pre><code>if (dev) {
    mainConfig.plugins.push({
      apply: compiler =&gt; {
        compiler.hooks.afterEmit.tap('AfterEmitPlugin', () =&gt; {
          if (electronProcess) {
            electronProcess.kill();
          }
  
          electronProcess = spawn('npm', ['start'], {
            shell: true,
            env: process.env,
            stdio: 'inherit',
          })
            .on('close', code =&gt; process.exit(code))
            .on('error', spawnError =&gt; console.error(spawnError));
        });
      },
    });
  }
  </code></pre>
  
  <h1>How the error happens</h1>
  
  <p>Then, it runs <code>npm start</code>, and it starts electron, if you check the console the app fails to load with this error:</p>
  
  <p><img src="https://i.imgur.com/BrPfNc7.png" alt="the error">
  <a href="https://hastebin.com/moheyikofa" rel="nofollow noreferrer">https://hastebin.com/moheyikofa</a>.</p>
  
  <h1>What I've tried</h1>
  
  <p>I've already tried reporting this to the Electron devs, however they told me this is a libgc error and to tell the authors of libgc, however the libgc repository is read-only; so I'm unable to open an issue about it.</p>
  
  <h1>My webpack code</h1>
  
  <p>I have my webpack config in multiple files, to keep each category organized.</p>
  
  <p>Base Webpack Config (everything built on top of this): <a href="https://raw.githubusercontent.com/dot-browser/desktop-webpack-bug/master/webpack.config.base.js" rel="nofollow noreferrer">https://raw.githubusercontent.com/dot-browser/desktop-webpack-bug/master/webpack.config.base.js</a></p>
  
  <p>Electron Main Webpack Config: <a href="https://raw.githubusercontent.com/dot-browser/desktop-webpack-bug/master/webpack.config.js" rel="nofollow noreferrer">https://raw.githubusercontent.com/dot-browser/desktop-webpack-bug/master/webpack.config.js</a></p>
  
  <p>Electron Renderer Webpack Config: <a href="https://raw.githubusercontent.com/dot-browser/desktop-webpack-bug/master/webpack.config.renderer.js" rel="nofollow noreferrer">https://raw.githubusercontent.com/dot-browser/desktop-webpack-bug/master/webpack.config.renderer.js</a></p>
  
  <p>Browser Webpack Config (I load these pages into the BrowserView of my electron app, so they must be browser, and not electron-renderer): <a href="https://raw.githubusercontent.com/dot-browser/desktop-webpack-bug/master/webpack.config.web.js" rel="nofollow noreferrer">https://raw.githubusercontent.com/dot-browser/desktop-webpack-bug/master/webpack.config.web.js</a></p>
  
  <p>I expect the app to load, because my friend uses almost the same config, and it loads perfectly fine.</p>