今日はmixを使っていろいろ試してみようと思ったらmix コマンドがちゃんと動かなかった。
どうもelixir/erlangのインストールに失敗してたっぽい。
$ mix =INFO REPORT==== 10-Sep-2017::17:13:16 === application: logger exited: {{shutdown, {failed_to_start_child,'Elixir.GenEvent', {undef, [{gen,debug_options,[[]],[]}, {'Elixir.GenEvent',init_it,6, [{file,"lib/gen_event.ex"},{line,538}]}, {proc_lib,init_p_do_apply,3, [{file,"proc_lib.erl"},{line,247}]}]}}}, {'Elixir.Logger.App',start,[normal,[]]}} type: temporary ** (Mix) The task app.start could not be found
インストールしたけど使っていなかったwindows版だとこんなエラーメッセージでてない・・・
C:\>mix ** (Mix) "mix" with no arguments must be executed in a directory with a mix.exs file Usage: mix [task] Examples: mix - Invokes the default task (current: "mix run") mix new PATH - Creates a new Elixir project at the given path mix help - Lists all available tasks mix help TASK - Prints documentation for a given task C:\>mix -v Erlang/OTP 20 [erts-9.0] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:10] Mix 1.5.1
elixir入門者過ぎてこのエラーメッセージの意味がわからないけどなんか必要なライブラリとか入っていないような感じだろうか。
明日ちゃんと調べてみよう。