Error on install electron in fedora 30

Hello i have this error if i try to install electron on my fedora 30

[luisjustin@localhost ~]$ sudo su
[sudo] password for luisjustin: 
[root@localhost luisjustin]# npm install -g electron
/usr/bin/electron -> /usr/lib/node_modules/electron/cli.js

> electron@5.0.2 postinstall /usr/lib/node_modules/electron
> node install.js

/usr/lib/node_modules/electron/install.js:49
  throw err
  ^

Error: EACCES: permission denied, mkdir '/usr/lib/node_modules/electron/.electron'
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! electron@5.0.2 postinstall: `node install.js`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the electron@5.0.2 postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2019-05-30T01_21_04_805Z-debug.log
[root@localhost luisjustin]# 

the log in this link: https://pastebin.com/q3dSCQVg