Open mrkaspa opened 6 years ago
I think this is the same as https://github.com/avh4/elm-format/issues/377
The fix is to make https://github.com/avh4/binwrap handle the permissions properly.
The workaround is to install the binaries manually (or see the other issue for other suggestions).
Can you expand on this? I don't see any suggestions in #377 other than use --loglevel=verbose
which doesn't seem to be a real solution (and has more to do with hanging at binwrap
than the above error). How do you install the binaries manually (what binaries does this refer to)?
Regarding the permissions, you can install using
sudo npm install -g --unsafe-perm elm-format
The real issue here is that binwrap doesn't correctly support installation in folders that aren't fully owned by the user. Fixing that would involve some development work and a PR to binwrap.
The workaround mentioned is to download the binaries from https://github.com/avh4/elm-format/releases and manually put them in the correct place on your path.
I've tried to install this on manjaro with the cmd npm install -g elm-format