title: Electron JS install error - Error: EACCES: permission denied
body: <p>getting error while installing ElectronJS,</p>
  
  <p>Error:</p>
  
  <pre><code>Error: EACCES: permission denied, mkdir '/usr/lib/node_modules/electron/.electron'
  </code></pre>
  
  <p>command tried,</p>
  
  <pre><code>sudo npm install -g electron
  sudo npm install -g electron-prebuilt
  </code></pre>
  
  <p>how to resolve this permission issue?</p>