<p dir="auto">When I try to enter a command into the devtool console, the program crashes</p>
<p dir="auto"><code class="notranslate">npm install electron --save-dev</code></p>
<p dir="auto">Results in</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&gt; electron@1.6.6 postinstall ******\node_modules\electron
&gt; node install.js

*******\node_modules\electron\install.js:47
  throw err
  ^

Error: ENOENT: no such file or directory, lstat '******\node_modules\electron\dist\resources
'

....

 &quot;C:\\Users\\ir_fu\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js&quot; &quot;install&quot; &quot;electron&quot; &quot;--save-dev&quot;
npm ERR! node v7.9.0
npm ERR! npm  v4.0.2
npm ERR! code ELIFECYCLE

npm ERR! electron@1.6.6 postinstall: `node install.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the electron@1.6.6 postinstall script 'node install.js'."><pre class="notranslate"><code class="notranslate">&gt; electron@1.6.6 postinstall ******\node_modules\electron
&gt; node install.js

*******\node_modules\electron\install.js:47
  throw err
  ^

Error: ENOENT: no such file or directory, lstat '******\node_modules\electron\dist\resources
'

....

 "C:\\Users\\ir_fu\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js" "install" "electron" "--save-dev"
npm ERR! node v7.9.0
npm ERR! npm  v4.0.2
npm ERR! code ELIFECYCLE

npm ERR! electron@1.6.6 postinstall: `node install.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the electron@1.6.6 postinstall script 'node install.js'.
</code></pre></div>
<p dir="auto">Does anyone know why this happens?</p>