<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>v11.0.2, with @electron/remote v1.0.0</li>
</ul>
</li>
<li><strong>Operating System:</strong>
<ul dir="auto">
<li>Windows 10 (1803)</li>
</ul>
</li>
<li><strong>Last Known Working Electron version:</strong>
<ul dir="auto">
<li>10.1.2, with @electron/remote v1.0.0</li>
</ul>
</li>
</ul>
<h3 dir="auto">Expected Behavior</h3>
<p dir="auto">Calling <code class="notranslate">require('@electron/remote/main').initialize();</code> in main.js should not produce any errors.</p>
<h3 dir="auto">Actual Behavior</h3>
<p dir="auto">When running <code class="notranslate">electron .</code> the following error is thrown:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="TypeError: process.electronBinding is not a function
    at Object.&lt;anonymous&gt; (C:\Projects\msal electron poc\node_modules\@electron\remote\dist\src\main\objects-registry.js:3:24)
    at Module._compile (internal/modules/cjs/loader.js:1152:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1173:10)
    at Module.load (internal/modules/cjs/loader.js:992:32)
    at Module._load (internal/modules/cjs/loader.js:885:14)
    at Function.f._load (electron/js2c/asar_bundle.js:5:12694)
    at Module.require (internal/modules/cjs/loader.js:1032:19)
    at require (internal/modules/cjs/helpers.js:72:18)
    at Object.&lt;anonymous&gt; (C:\Projects\msal electron poc\node_modules\@electron\remote\dist\src\main\server.js:8:44)
    at Module._compile (internal/modules/cjs/loader.js:1152:30)"><pre class="notranslate"><code class="notranslate">TypeError: process.electronBinding is not a function
    at Object.&lt;anonymous&gt; (C:\Projects\msal electron poc\node_modules\@electron\remote\dist\src\main\objects-registry.js:3:24)
    at Module._compile (internal/modules/cjs/loader.js:1152:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1173:10)
    at Module.load (internal/modules/cjs/loader.js:992:32)
    at Module._load (internal/modules/cjs/loader.js:885:14)
    at Function.f._load (electron/js2c/asar_bundle.js:5:12694)
    at Module.require (internal/modules/cjs/loader.js:1032:19)
    at require (internal/modules/cjs/helpers.js:72:18)
    at Object.&lt;anonymous&gt; (C:\Projects\msal electron poc\node_modules\@electron\remote\dist\src\main\server.js:8:44)
    at Module._compile (internal/modules/cjs/loader.js:1152:30)
</code></pre></div>
<h3 dir="auto">To Reproduce</h3>
<p dir="auto">Simply include <code class="notranslate">require('@electron/remote/main').initialize();</code> at the top of your main.js. I tried creating a fiddle, but it hangs on <code class="notranslate">Installing node modules using npm: @electron/remote/main...</code></p>
<h3 dir="auto">Example project</h3>
<p dir="auto">at <a href="https://github.com/SubliemeSiem/electron-bug-example">https://github.com/SubliemeSiem/electron-bug-example</a></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="npm i
npm start"><pre class="notranslate"><code class="notranslate">npm i
npm start
</code></pre></div>
<p dir="auto">Shows the error. Change the electron version to 10.1.2 and run <code class="notranslate">npm i</code> and <code class="notranslate">npm start</code> again and the error disappears.</p>
<p dir="auto">I'm using the latest beta of electron 11 (beta.23), with electron/remote 1.0. I tried running my app, and I see a crash with the following stack trace.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Uncaught Exception: TypeError: process.electronBinding is not a function
at Object.&lt;anonymous&gt; (/my_app/ui/node_modules/@electron/remote/dist/src/main/objects-registry.js:3:24)
at Module._compile (internal/modules/cjs/loader.js:1152:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1173:10)
at Module.load (internal/modules/cjs/loader.js:992:32)
at Module._load (internal/modules/cjs/loader.js:885:14)
at Function.f._load (electron/js2c/asar_bundle.js:5:12694)
at Module.require (internal/modules/cjs/loader.js:1032:19)
at require (internal/modules/cjs/helpers.js:72:18)
at Object.&lt;anonymous&gt; (my_app/ui/node_modules/@electron/remote/dist/src/main/server.js:8:44)
at Module._compile (internal/modules/cjs/loader.js:1152:30)"><pre class="notranslate"><code class="notranslate">Uncaught Exception: TypeError: process.electronBinding is not a function
at Object.&lt;anonymous&gt; (/my_app/ui/node_modules/@electron/remote/dist/src/main/objects-registry.js:3:24)
at Module._compile (internal/modules/cjs/loader.js:1152:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1173:10)
at Module.load (internal/modules/cjs/loader.js:992:32)
at Module._load (internal/modules/cjs/loader.js:885:14)
at Function.f._load (electron/js2c/asar_bundle.js:5:12694)
at Module.require (internal/modules/cjs/loader.js:1032:19)
at require (internal/modules/cjs/helpers.js:72:18)
at Object.&lt;anonymous&gt; (my_app/ui/node_modules/@electron/remote/dist/src/main/server.js:8:44)
at Module._compile (internal/modules/cjs/loader.js:1152:30)
</code></pre></div>
<p dir="auto">I'm initializing the remote module in my main process as<br>
<code class="notranslate">require('@electron/remote/main').initialize()</code>. <code class="notranslate">enableRemoteModule</code> is also set to true.</p>