-
Notifications
You must be signed in to change notification settings - Fork 145
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
Installation problem #554
Comments
Is this on Mac or Linux? In general, I'd recommend installing elm-format as a non-root user. Is there a reason you need it installed as root? I'm not familiar with |
The problem was on Mac. I installed first as user but got some permissions errors (hence the sudo). |
I've had the same problem since 0.19 was released so I could never upgrade.
|
@Erudition saved my bacon! Thank you! :D |
|
Isn't this more an issue with managing the permissions around installing npm pacakges, and not elm-specific? I'm new to using npm but see this section on their site. I was getting permission denied installing elm-test and elm-format so I did the second suggestion from that page, i.e.
and that worked for me. |
generates the following error:
ERR Error extracting https://github.com/avh4/elm-format/releases/download/0.8.0/elm-format-0.19-0.8.0-mac-x64.tgz - Error: EACCES: permission denied, mkdir '/usr/local/lib/node_modules/elm-format/unpacked_bin'
with --unsafe-perm it works.
The text was updated successfully, but these errors were encountered: