<ul dir="auto">
<li>Electron Version:2.0.4</li>
<li>Operating System (Platform and Version):window 7/8/10</li>
<li>Last known working Electron version: unknown</li>
</ul>
<p dir="auto">Unable to start application without connecting to network.</p>
<p dir="auto"><strong>Expected Behavior</strong><br>
application can startup with normal.</p>
<p dir="auto"><strong>Actual behavior</strong><br>
application can not  startup  with some errors.</p>
<p dir="auto"><strong>Screenshots</strong><br>
Unable to upload pictures.</p>
<p dir="auto"><strong>Additional Information</strong><br>
The error's informations are as follow:<br>
dns.js:246 Uncaught Error: EFILE<br>
at new Resolver (dns.js:246)<br>
at dns.js:377<br>
at dns.js:431<br>
at NativeModule.compile (bootstrap_node.js:606)<br>
at NativeModule.require (bootstrap_node.js:550)<br>
at net.js:45<br>
at net.js:1730<br>
at NativeModule.compile (bootstrap_node.js:606)<br>
at NativeModule.require (bootstrap_node.js:550)<br>
at internal/child_process.js:6<br>
Resolver	@	dns.js:246<br>
(anonymous)	@	dns.js:377<br>
(anonymous)	@	dns.js:431<br>
NativeModule.compile	@	bootstrap_node.js:606<br>
NativeModule.require	@	bootstrap_node.js:550<br>
(anonymous)	@	net.js:45<br>
(anonymous)	@	net.js:1730<br>
NativeModule.compile	@	bootstrap_node.js:606<br>
NativeModule.require	@	bootstrap_node.js:550<br>
(anonymous)	@	internal/child_process.js:6<br>
(anonymous)	@	internal/child_process.js:936<br>
NativeModule.compile	@	bootstrap_node.js:606<br>
NativeModule.require	@	bootstrap_node.js:550<br>
(anonymous)	@	child_process.js:35<br>
(anonymous)	@	child_process.js:685<br>
NativeModule.compile	@	bootstrap_node.js:606<br>
NativeModule.require	@	bootstrap_node.js:550<br>
(anonymous)	@	ELECTRON_ASAR.js:4<br>
(anonymous)	@	ELECTRON_ASAR.js:703<br>
(anonymous)	@	ELECTRON_ASAR.js:704<br>
NativeModule.compile	@	bootstrap_node.js:606<br>
NativeModule.require	@	bootstrap_node.js:550<br>
(anonymous)	@	VM43:7<br>
setupAsarSupport	@	bootstrap_node.js:619<br>
startup	@	bootstrap_node.js:60<br>
(anonymous)	@	bootstrap_node.js:622</p>
<p dir="auto">Uncaught ReferenceError: require is not defined<br>
at (index):1<br>
(anonymous) @ (index):1<br>
renderer.js:1 Uncaught ReferenceError: module is not defined<br>
at renderer.js:1<br>
(anonymous) @ renderer.js:1</p>
<ul dir="auto">
<li>Electron Version:2.0.4</li>
<li>Operating System (Platform and Version):Windows 10 64bit</li>
<li>Node version:v8.0.4</li>
<li>Last known working Electron version: Unknown</li>
</ul>
<p dir="auto"><strong>Expected Behavior</strong><br>
The Electron project can start normally when all network adapters are disabled or network cables are unplugged.</p>
<p dir="auto"><strong>Actual behavior</strong><br>
Electron cannot start because of the following error:</p>
<div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="dns.js:246 Uncaught Error: EFILE
    at new Resolver (dns.js:246)
    at dns.js:377
    at dns.js:431
    at NativeModule.compile (bootstrap_node.js:606)
    at NativeModule.require (bootstrap_node.js:550)
    at net.js:45
    at net.js:1730
    at NativeModule.compile (bootstrap_node.js:606)
    at NativeModule.require (bootstrap_node.js:550)
    at internal/child_process.js:6
Resolver	@	dns.js:246
(anonymous)	@	dns.js:377
(anonymous)	@	dns.js:431
NativeModule.compile	@	bootstrap_node.js:606
NativeModule.require	@	bootstrap_node.js:550
(anonymous)	@	net.js:45
(anonymous)	@	net.js:1730
NativeModule.compile	@	bootstrap_node.js:606
NativeModule.require	@	bootstrap_node.js:550
(anonymous)	@	internal/child_process.js:6
(anonymous)	@	internal/child_process.js:936
NativeModule.compile	@	bootstrap_node.js:606
NativeModule.require	@	bootstrap_node.js:550
(anonymous)	@	child_process.js:35
(anonymous)	@	child_process.js:685
NativeModule.compile	@	bootstrap_node.js:606
NativeModule.require	@	bootstrap_node.js:550
(anonymous)	@	ELECTRON_ASAR.js:4
(anonymous)	@	ELECTRON_ASAR.js:703
(anonymous)	@	ELECTRON_ASAR.js:704
NativeModule.compile	@	bootstrap_node.js:606
NativeModule.require	@	bootstrap_node.js:550
(anonymous)	@	VM43:7
setupAsarSupport	@	bootstrap_node.js:619
startup	@	bootstrap_node.js:60
(anonymous)	@	bootstrap_node.js:622

Uncaught ReferenceError: require is not defined
    at (index):1
(anonymous) @ (index):1
renderer.js:1 Uncaught ReferenceError: module is not defined
    at renderer.js:1
(anonymous) @ renderer.js:1"><pre class="notranslate">dns.js:246 Uncaught Error: EFILE
    at new Resolver (dns.js:246)
    at dns.js:377
    at dns.js:431
    at NativeModule.compile (bootstrap_node.js:606)
    at NativeModule.require (bootstrap_node.js:550)
    at net.js:45
    at net.js:1730
    at NativeModule.compile (bootstrap_node.js:606)
    at NativeModule.require (bootstrap_node.js:550)
    at internal/child_process.js:6
Resolver	@	dns.js:246
(anonymous)	@	dns.js:377
(anonymous)	@	dns.js:431
NativeModule.compile	@	bootstrap_node.js:606
NativeModule.require	@	bootstrap_node.js:550
(anonymous)	@	net.js:45
(anonymous)	@	net.js:1730
NativeModule.compile	@	bootstrap_node.js:606
NativeModule.require	@	bootstrap_node.js:550
(anonymous)	@	internal/child_process.js:6
(anonymous)	@	internal/child_process.js:936
NativeModule.compile	@	bootstrap_node.js:606
NativeModule.require	@	bootstrap_node.js:550
(anonymous)	@	child_process.js:35
(anonymous)	@	child_process.js:685
NativeModule.compile	@	bootstrap_node.js:606
NativeModule.require	@	bootstrap_node.js:550
(anonymous)	@	ELECTRON_ASAR.js:4
(anonymous)	@	ELECTRON_ASAR.js:703
(anonymous)	@	ELECTRON_ASAR.js:704
NativeModule.compile	@	bootstrap_node.js:606
NativeModule.require	@	bootstrap_node.js:550
(anonymous)	@	VM43:7
setupAsarSupport	@	bootstrap_node.js:619
startup	@	bootstrap_node.js:60
(anonymous)	@	bootstrap_node.js:622

Uncaught ReferenceError: require is not defined
    at (index):1
(anonymous) @ (index):1
renderer.js:1 Uncaught ReferenceError: module is not defined
    at renderer.js:1
(anonymous) @ renderer.js:1</pre></div>
<p dir="auto"><strong>To Reproduce</strong><br>
First create a simple Electron project, then disable all network adapters or unplug the network cable, and finally start the project.</p>