Open reinaldorauch opened 6 years ago
Same issue here. Fedora 27, tried both node 8.9.3 (default) and 8.9.4 (nodesource). With and without sudo.
Workaround:
sudo npm install -g elm-format --ignore-scripts
cd /usr/lib/node_modules/elm-format/
sudo rm bin/elm-format
sudo npm run install
Better workaround:
$ npm config get -g user
nobody
$ sudo npm config set -g user root
$ sudo npm install -g elm-format
...
+ elm-format@0.6.1-alpha
added 93 packages in 50.2s
Looks like an npm setup issue, not a binwrap one, at least for me... @reinaldorauch Could you check on your side?
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)?
@sebn the workaround worked, many thanks
@avh4 I will try to figure it out.
When I was installing elm-format globally, which depends on binwrap to install, it crashes with permssions error:
output:
npm-install-error.log.txt