Pokud při instalaci electron-forge
sudo npm i -g @electron-forge/cli
dostanete chybu
Error: EACCES: permission denied, mkdir '/usr/local/lib/node_modules/@electron-forge/cli/node_modules/lzma-native/.node-gyp'
zkuste
sudo npm install -g electron-forge --unsafe-perm=true --allow-root
Zdroj: stackoverflow.com/questions/47247443/electron-js-install-error-error-eacces-permission-denied