Open sly442 opened 4 years ago
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! elm-format@0.8.2 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
binwrap-install
same here, even with sudo npm i -g elm-format
sudo npm i -g elm-format
solved by adding --unsafe-perm to npm command
--unsafe-perm
Explanation 👆👆👆 https://geedew.com/What-does-unsafe-perm-in-npm-actually-do/
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! elm-format@0.8.2 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