Installing devtools on a fresh machine produces the following error:
Error: EACCES: permission denied, mkdir '/usr/lib/node_modules/electron/.electron' npm ERR! code ELIFECYCLE
The following forum post suggests installing with unsafe permissions:
npm install -g electron --unsafe-perm=true --allow-root
This is not ideal but looks necessary until the electron maintainer has gotten their stuff together.
Installing devtools on a fresh machine produces the following error:
Error: EACCES: permission denied, mkdir '/usr/lib/node_modules/electron/.electron' npm ERR! code ELIFECYCLE
The following forum post suggests installing with unsafe permissions:npm install -g electron --unsafe-perm=true --allow-root
This is not ideal but looks necessary until the electron maintainer has gotten their stuff together.