-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Running from packages that need to be installed globally, it didn't check root permissions. #8
Comments
Same issue here. Fedora 27, tried both node 8.9.3 (default) and 8.9.4 (nodesource). With and without sudo. |
Workaround:
|
Better workaround: $ npm config get -g user
nobody
$ sudo npm config set -g user root
$ sudo npm install -g elm-format
...
+ [email protected]
added 93 packages in 50.2s Looks like an npm setup issue, not a binwrap one, at least for me... |
Sorry for the late reply, will test on my coding machine and return to you |
Have we been able to figure out if there's something binwrap could be doing differently that would avoid this problem (or give a better error message if it's not avoidable)? |
When I was installing elm-format globally, which depends on binwrap to install, it crashes with permssions error:
output:
npm-install-error.log.txt
The text was updated successfully, but these errors were encountered: