<h3 dir="auto">Preflight Checklist</h3>

<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have read the <a href="https://github.com/electron/electron/blob/master/CONTRIBUTING.md">Contributing Guidelines</a> for this project.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I agree to follow the <a href="https://github.com/electron/electron/blob/master/CODE_OF_CONDUCT.md">Code of Conduct</a> that this project adheres to.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the issue tracker for an issue that matches the one I want to file, without success.</li>
</ul>
<h3 dir="auto">Issue Details</h3>
<ul dir="auto">
<li><strong>Electron Version:</strong>
<ul dir="auto">
<li>
6.0.8
</li>
</ul>
</li>
<li><strong>Operating System:</strong>
<ul dir="auto">
<li>
Windows 10 (Build 18362)
</li>
</ul>
</li>
<li><strong>Last Known Working Electron version:</strong>
<ul dir="auto">
<li>
6.0.2
</li>
</ul>
</li>
</ul>
<h3 dir="auto">Expected Behavior</h3>

<p dir="auto">For the node-gyp to properly compile my native add on.</p>
<h3 dir="auto">Actual Behavior</h3>

<p dir="auto">Getting a compiler error:</p>
<p dir="auto"><code class="notranslate">node.lib(node.exe) : fatal error LNK1112: module machine type 'ARM64' conflicts with target machine type 'x64'</code> (this file comes from <a href="https://atom.io/download/electron" rel="nofollow">https://atom.io/download/electron</a>)</p>
<h3 dir="auto">To Reproduce</h3>

<p dir="auto">Run node-gyp for a native add on...</p>
<p dir="auto"><code class="notranslate">node-gyp build --target=6.0.8 --arch=x64 --dist-url=https://atom.io/download/electron</code></p>



<h3 dir="auto">Screenshots</h3>

<h3 dir="auto">Additional Information</h3>

<p dir="auto">This is only happening on x64, ia32 is still working as intended.</p>
<h3 dir="auto">Preflight Checklist</h3>

<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have read the <a href="https://github.com/electron/electron/blob/master/CONTRIBUTING.md">Contributing Guidelines</a> for this project.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I agree to follow the <a href="https://github.com/electron/electron/blob/master/CODE_OF_CONDUCT.md">Code of Conduct</a> that this project adheres to.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the issue tracker for an issue that matches the one I want to file, without success.</li>
</ul>
<h3 dir="auto">Issue Details</h3>
<ul dir="auto">
<li><strong>Electron Version:</strong>
<ul dir="auto">
<li>6.0.8</li>
</ul>
</li>
<li><strong>Operating System:</strong>
<ul dir="auto">
<li>Windows Server 2016 and 2019</li>
</ul>
</li>
<li><strong>Last Known Working Electron version:</strong>
<ul dir="auto">
<li>6.0.7</li>
</ul>
</li>
</ul>
<p dir="auto">With the 6.0.8 binaries, native module builds are now failing with:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="node.lib(node.exe) : fatal error LNK1223: invalid or corrupt file: file contains invalid .pdata contributions "><pre class="notranslate"><code class="notranslate">node.lib(node.exe) : fatal error LNK1223: invalid or corrupt file: file contains invalid .pdata contributions 
</code></pre></div>