Skip to content

020-Node Permissions issue with installing electron - > devtools #4

@Jaczel

Description

@Jaczel

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions