Quantcast
Channel: 一言多いプログラマーの独り言
Viewing all articles
Browse latest Browse all 846

「Phoenix」フレームワークの初期設定

$
0
0
Phoenix」フレームワークの初期設定です。エラー出過ぎ。泣けました。


$ 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 -v
v0.10.25
$ npm -v
1.4.21
Node.jsのバージョンをあげたら、うまくいきました。

$ node -v
v4.4.2
$ npm -v
2.15.0

$ npm install
$ mix phoenix.server

参考サイト
Up And Running(Phoenix)
[Elixir][Phoenix]hello Phoenixを試す(tomohikoのブログさん)

Viewing all articles
Browse latest Browse all 846

Latest Images

Trending Articles