<p dir="auto">d:<br>
/usr/local/bin/electron -&gt; /usr/local/lib/node_modules/electron-prebuilt/cli.js</p>
<blockquote>
<p dir="auto">electron-prebuilt@0.34.0 postinstall /usr/local/lib/node_modules/electron-prebuilt<br>
node install.js</p>
</blockquote>
<p dir="auto">Downloading electron-v0.34.0-darwin-x64.zip<br>
[============================================&gt;] 100.0% of 37.94 MB (250.83 kB/s)<br>
/usr/local/lib/node_modules/electron-prebuilt/install.js:15<br>
throw err<br>
^<br>
Error: EACCES, rename '/usr/local/lib/node_modules/electron-prebuilt/electron-tmp-download-15050-1445301881243/electron-v0.34.0-darwin-x64.zip'<br>
at Error (native)<br>
npm ERR! Darwin 15.0.0<br>
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "electron-prebuilt" "-g"<br>
npm ERR! node v0.12.7<br>
npm ERR! npm  v2.11.3<br>
npm ERR! code ELIFECYCLE</p>
<p dir="auto">npm ERR! electron-prebuilt@0.34.0 postinstall: <code class="notranslate">node install.js</code><br>
npm ERR! Exit status 1<br>
npm ERR!<br>
npm ERR! Failed at the electron-prebuilt@0.34.0 postinstall script 'node install.js'.<br>
npm ERR! This is most likely a problem with the electron-prebuilt package,<br>
npm ERR! not with npm itself.<br>
npm ERR! Tell the author that this fails on your system:<br>
npm ERR!     node install.js<br>
npm ERR! You can get their info via:<br>
npm ERR!     npm owner ls electron-prebuilt<br>
npm ERR! There is likely additional logging output above.</p>
<p dir="auto">npm ERR! Please include the following file with any support request:<br>
npm ERR!     /Users/Aleff/npm-debug.log</p>
<p dir="auto">We've been burned by this a couple of times but to install globally you have to do <code class="notranslate">sudo npm install electron-prebuilt -g</code> and it seems like it's attempting to copy a temp file from a root folder into a user folder that it doesn't have access to.</p>
<p dir="auto">The work around is to install electron-prebuilt locally once, <code class="notranslate">npm install electron-prebuilt</code> to get the binary into the user folder cache, then install globally.</p>
<p dir="auto">I just wanted to point this out, it would be nice if this error didn't happen, it's not blocking me though.</p>