<p dir="auto">I made a video to show the error.</p>
<p dir="auto"><a href="https://www.youtube.com/watch?v=Nn5w-z7-1V4" rel="nofollow">https://www.youtube.com/watch?v=Nn5w-z7-1V4</a></p>
<p dir="auto">You don't have to set cookies for it to crash. Once you navigate to their landing page and click or do absolutely anything else it will crash electron.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="var Nightmare = require('nightmare'),
    nightmare = Nightmare(
        { show: true,
            webPreferences: {
                webSecurity:false
            },
            openDevTools: {
              mode: 'detach'
            },
            switches: {
              'ignore-certificate-errors': true
            }
        }),
    { readFileSync, writeFileSync } = require('fs'),
    iframe = require('nightmare-iframe-manager')(Nightmare);


var credentials = readFileSync('./cookies.txt', { encoding: 'utf8' }).trim();
credentials = JSON.stringify(credentials);
var jcred = JSON.parse(credentials);
console.log(jcred);

    nightmare
      .useragent('Mozilla/5.0 (Windows NT 6.1; WOW64; rv:37.0) Gecko/20100101 Firefox/37.0')
      .goto('https://www.aliexpress.com')
      .cookies.set(jcred)
      .refresh()
      .wait(10000)
      .end()
      .then(function (result) {
        console.log(result);
      })
      .catch(function (error) {
        console.error('Search failed:', error);

      nightmare.end();"><pre class="notranslate"><code class="notranslate">var Nightmare = require('nightmare'),
    nightmare = Nightmare(
        { show: true,
            webPreferences: {
                webSecurity:false
            },
            openDevTools: {
              mode: 'detach'
            },
            switches: {
              'ignore-certificate-errors': true
            }
        }),
    { readFileSync, writeFileSync } = require('fs'),
    iframe = require('nightmare-iframe-manager')(Nightmare);


var credentials = readFileSync('./cookies.txt', { encoding: 'utf8' }).trim();
credentials = JSON.stringify(credentials);
var jcred = JSON.parse(credentials);
console.log(jcred);

    nightmare
      .useragent('Mozilla/5.0 (Windows NT 6.1; WOW64; rv:37.0) Gecko/20100101 Firefox/37.0')
      .goto('https://www.aliexpress.com')
      .cookies.set(jcred)
      .refresh()
      .wait(10000)
      .end()
      .then(function (result) {
        console.log(result);
      })
      .catch(function (error) {
        console.error('Search failed:', error);

      nightmare.end();
</code></pre></div>
<p dir="auto">I made a duplicate of this issue in the Nightmare repo but this seemed to be more of an electron issue than a nightmare one since this exact same code worked before.</p>
<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><br>
8.0.0-nightly.20191026 (Building from source)</li>
<li><strong>Operating System:</strong><br>
Windows 10 (1809)</li>
</ul>
<h3 dir="auto">Expected Behavior</h3>
<p dir="auto">Electron to link successfully.</p>
<h3 dir="auto">Actual Behavior</h3>
<p dir="auto">I am receiving the following link error:</p>
<p dir="auto"><code class="notranslate">FAILED: electron.exe electron.exe.pdb ninja -t msvc -e environment.x64 -- ../../third_party/llvm-build/Release+Asserts/bin/lld-link.exe /nologo "-libpath:..\..\..\..\..\..\..\..\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.23.28105\ATLMFC\lib\x64" "-libpath:..\..\..\..\..\..\..\..\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.23.28105\lib\x64" "-libpath:..\..\..\..\..\..\..\..\Program Files (x86)\Windows Kits\NETFXSDK\4.8\lib\um\x64" "-libpath:..\..\..\..\..\..\..\..\Program Files (x86)\Windows Kits\10\lib\10.0.18362.0\ucrt\x64" "-libpath:..\..\..\..\..\..\..\..\Program Files (x86)\Windows Kits\10\lib\10.0.18362.0\um\x64" /OUT:./electron.exe /PDB:./electron.exe.pdb @./electron.exe.rsp lld-link: error: duplicate symbol: public: __cdecl blink::mojom::BlobProxy::BlobProxy(class mojo::MessageReceiverWithResponder *) in obj/third_party/blink/public/mojom/android_mojo_bindings/android_mojo_bindings_jumbo_1.obj and in blink_common.dll lld-link: error: duplicate symbol: public: __cdecl blink::mojom::FileChooserFileInfo::FileChooserFileInfo(void) in obj/third_party/blink/public/mojom/mojom_platform/mojom_platform_jumbo_1.obj and in blink_common.dll lld-link: error: duplicate symbol: public: __cdecl blink::mojom::FindOptions::FindOptions(void) in obj/third_party/blink/public/mojom/mojom_platform/mojom_platform_jumbo_2.obj and in blink_common.dll lld-link: error: duplicate symbol: public: __cdecl blink::mojom::FindOptions::FindOptions(bool, bool, bool, bool, bool) in obj/third_party/blink/public/mojom/mojom_platform/mojom_platform_jumbo_2.obj and in blink_common.dll lld-link: error: duplicate symbol: public: __cdecl blink::mojom::NativeFileInfo::NativeFileInfo(class base::FilePath const &amp;, class std::basic_string&lt;wchar_t, struct std::char_traits&lt;wchar_t&gt;, class std::allocator&lt;wchar_t&gt;&gt; const &amp;) in obj/third_party/blink/public/mojom/mojom_platform/mojom_platform_jumbo_1.obj and in blink_common.dll lld-link: error: duplicate symbol: public: __cdecl blink::mojom::ServiceWorkerRegistrationOptions::ServiceWorkerRegistrationOptions(void) in obj/third_party/blink/public/mojom/mojom_core/mojom_core_jumbo_1.obj and in blink_common.dll lld-link: error: duplicate symbol: public: __cdecl blink::mojom::FileChooserFileInfo::~FileChooserFileInfo(void) in obj/third_party/blink/public/mojom/mojom_platform/mojom_platform_jumbo_1.obj and in blink_common.dll lld-link: error: duplicate symbol: public: __cdecl blink::mojom::FindOptions::~FindOptions(void) in obj/third_party/blink/public/mojom/mojom_platform/mojom_platform_jumbo_2.obj and in blink_common.dll lld-link: error: duplicate symbol: public: __cdecl blink::mojom::NativeFileInfo::~NativeFileInfo(void) in obj/third_party/blink/public/mojom/mojom_platform/mojom_platform_jumbo_1.obj and in blink_common.dll lld-link: error: duplicate symbol: public: __cdecl blink::mojom::ServiceWorkerRegistrationOptions::~ServiceWorkerRegistrationOptions(void) in obj/third_party/blink/public/mojom/mojom_core/mojom_core_jumbo_1.obj and in blink_common.dll lld-link: error: duplicate symbol: public: __cdecl blink::mojom::WindowFeatures::~WindowFeatures(void) in obj/third_party/blink/public/mojom/mojom_platform/mojom_platform_jumbo_6.obj and in blink_common.dll lld-link: error: duplicate symbol: public: static bool __cdecl blink::mojom::BlobReaderClientStubDispatch::Accept(class blink::mojom::BlobReaderClient *, class mojo::Message *) in obj/third_party/blink/public/mojom/android_mojo_bindings/android_mojo_bindings_jumbo_1.obj and in blink_common.dll lld-link: error: duplicate symbol: public: static bool __cdecl blink::mojom::BlobReaderClientStubDispatch::AcceptWithResponder(class blink::mojom::BlobReaderClient *, class mojo::Message *, class std::unique_ptr&lt;class mojo::MessageReceiverWithStatus, struct std::default_delete&lt;class mojo::MessageReceiverWithStatus&gt;&gt;) in obj/third_party/blink/public/mojom/android_mojo_bindings/android_mojo_bindings_jumbo_1.obj and in blink_common.dll lld-link: error: duplicate symbol: public: static bool __cdecl mojo::StructTraits&lt;class blink::mojom::WindowFeaturesDataView, class mojo::StructPtr&lt;class blink::mojom::WindowFeatures&gt;&gt;::Read(class blink::mojom::WindowFeaturesDataView, class mojo::StructPtr&lt;class blink::mojom::WindowFeatures&gt; *) in obj/third_party/blink/public/mojom/mojom_platform/mojom_platform_jumbo_6.obj and in blink_common.dll lld-link: error: duplicate symbol: public: virtual void __cdecl blink::mojom::BlobProxy::ReadAll(class mojo::ScopedHandleBase&lt;class mojo::DataPipeProducerHandle&gt;, class mojo::PendingRemote&lt;class blink::mojom::BlobReaderClient&gt;) in obj/third_party/blink/public/mojom/android_mojo_bindings/android_mojo_bindings_jumbo_1.obj and in blink_common.dll lld-link: error: duplicate symbol: public: virtual void __cdecl blink::mojom::BlobProxy::ReadRange(unsigned __int64, unsigned __int64, class mojo::ScopedHandleBase&lt;class mojo::DataPipeProducerHandle&gt;, class mojo::PendingRemote&lt;class blink::mojom::BlobReaderClient&gt;) in obj/third_party/blink/public/mojom/android_mojo_bindings/android_mojo_bindings_jumbo_1.obj and in blink_common.dll lld-link: error: duplicate symbol: public: void __cdecl blink::mojom::FileChooserFileInfo::set_native_file(class mojo::StructPtr&lt;class blink::mojom::NativeFileInfo&gt;) in obj/third_party/blink/public/mojom/mojom_platform/mojom_platform_jumbo_1.obj and in blink_common.dll ninja: build stopped: subcommand failed.</code></p>
<h3 dir="auto">Additional Information</h3>
<p dir="auto">Since I'm unable to find anything in the chromium bug tracker or here relating to this error I'm kinda assuming its something silly I've done on my end.. (run the post hooks multiple times maybe?)</p>
<p dir="auto">Any pointers of how to fix it would be welcome.. so close to finally building! Thanks.</p>