After upgrading to Mac OS High Sierra, Elixir did no longer work while giving an error mentioning 'BoringSSL' errors.
npm fora could not give further information except stating erlang had an error ...
I solved the error with the following steps
command line commands
( not mentioning pulling hair and others )
( I added this as a solution here since a lot of my colleagues had this error too after upgrading )