我想嘗試鳳凰框架,但不能把它 我裝仙丹brew install elixir
,之後,我安裝鳳凰mix archive.install /path/to/archive
並嘗試mix phoenix.new new_app
並且得到錯誤:不能生成鳳凰應用
** (UndefinedFunctionError) undefined function:crypto.strong_rand_bytes/1 (module :crypto is not available) :crypto.strong_rand_bytes(64) lib/phoenix_new.ex:459: Mix.Tasks.Phoenix.New.random_string/1 lib/phoenix_new.ex:187: Mix.Tasks.Phoenix.New.run/4 (mix) lib/mix/cli.ex:55: Mix.CLI.run_task/2 (elixir) lib/code.ex:363: Code.require_file/2
酏劑-v 1.1.1
混合-v 1.1.1
的erlang/OTP 18
OSX 10.11.1
這可能與openssl有關。我會檢查是否已安裝,然後重新安裝erlang和elixir。 – manukall