Can not install Elm-format on MacOs High Sierra.
this is a section of the message:
errno: -13,
syscall: 'mkdir',
code: 'EACCES',
path: '/usr/local/lib/node_modules/elm-format/unpacked_bin' }
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: binwrap-install
npm ERR! Exit status 1
npm ERR!
2020-01-12T02_49_19_250Z-debug.log
2020-01-12T02_29_05_475Z-debug.log
same here, even with sudo npm i -g elm-format
solved by adding --unsafe-perm to npm command
Most helpful comment
solved by adding
--unsafe-permto npm command