Closed MohamedDiaa closed 8 years ago
npm packages should not be installed with sudo, as this can mess up their usage and integration with user env. Permissions should be fixed, or nvm should be used to solve once and for all all problems with npm permissions.
I'd suggest adding that to the readme instead of directing users to use sudo.
See also:
Yes , it should be added, I had no idea about all that. I am new to npm also
Installing fails due to many permissions not granted to access files solved it by adding sudo to installing command