Pheonix变化如此频繁,以至于我不确定我所做的是对的.
我正在尝试按照一些教程,所有这些教程在完成编译后立即执行'mix phoenix.start'命令,并且应该启动服务器.(在Github的问题页面上有一些讨论,他们将用mix phoenix.server命令替换它,你必须手动做一些事情,而不是真正遵循它.无论如何,这是在开发版本v0.8.0-我正在使用最新的稳定版本0.7.2)
我试图发出'mix phoenix.start'命令试图启动服务器
(AppName:PhoenixCrud)时出错:
> mix phoenix.start
=INFO REPORT==== 13-Dec-2014::15:23:08 ===
application: logger
exited: stopped
type: temporary
=INFO REPORT==== 13-Dec-2014::15:23:08 ===
application: cowboy
exited: stopped
type: temporary
=INFO REPORT==== 13-Dec-2014::15:23:08 ===
application: cowlib
exited: stopped
type: temporary
=INFO REPORT==== 13-Dec-2014::15:23:08 ===
application: ranch
exited: stopped
type: temporary
** (Mix) Could not start application phoenix_crud: PhoenixCrud.start(:normal, []) returned an error: shutdown: failed to start child: PhoenixCrud.Endpoint
** (EXIT) an exception was raised:
** (UndefinedFunctionError) undefined function: PhoenixCrud.Endpoint.start_link/0
(phoenix_crud) …Run Code Online (Sandbox Code Playgroud)