「Phoenix」フレームワークの初期設定です。エラー出過ぎ。泣けました。
参考サイト
Up And Running(Phoenix)
[Elixir][Phoenix]hello Phoenixを試す(tomohikoのブログさん)
$ mix phoenix.new hello_phoenix
$ cd hello_phoenix
$ mix ecto.create
$ mix phoenix.server
[error] Could not start node watcher because script "/home/vagrant/hello_phoenix/node_modules/brunch/bin/brunch" does not exist.
Your Phoenix application is still running, however assets won't be compiled.
You may fix this by running "npm install".
$ npm install
npm ERR! 404 'phoenix_html' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it
npm ERR! 404 It was specified as a dependency of 'hello_phoenix'
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, or http url, or git url.
Node.jsのバージョンをあげたら、うまくいきました。
$ node -v
v0.10.25
$ npm -v
1.4.21
$ node -v
v4.4.2
$ npm -v
2.15.0
$ npm install
$ mix phoenix.server
参考サイト
Up And Running(Phoenix)
[Elixir][Phoenix]hello Phoenixを試す(tomohikoのブログさん)