elm / compiler

Compiler for Elm, a functional language for reliable webapps.
https://elm-lang.org/
BSD 3-Clause "New" or "Revised" License
7.48k stars 659 forks source link

`installers/mac/preinstall` wrongly assumes `/usr/local/bin` exists and is on PATH #2265

Open Janiczek opened 2 years ago

Janiczek commented 2 years ago

Quick Summary: On new Mac machines, the Elm installer seems to silently fail because /usr/local/bin doesn't exist

Here is a recent discussion from the Elm Slack:

Screenshot 2022-07-07 at 14 35 41

The installer finished but elm wasn't found in the terminal afterwards. Seems like the preinstall script should mkdir -p /usr/local/bin before copying the binaries.

github-actions[bot] commented 2 years ago

Thanks for reporting this! To set expectations:

Finally, please be patient with the core team. They are trying their best with limited resources.