{"action":"closed","issue":{"url":"https://api.github.com/repos/bitwalker/distillery/issues/25","repository_url":"https://api.github.com/repos/bitwalker/distillery","labels_url":"https://api.github.com/repos/bitwalker/distillery/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/bitwalker/distillery/issues/25/comments","events_url":"https://api.github.com/repos/bitwalker/distillery/issues/25/events","html_url":"https://github.com/bitwalker/distillery/issues/25","id":169637278,"number":25,"title":"Got an error when opening console in a dev build","user":{"login":"tony612","id":1253659,"avatar_url":"https://avatars.githubusercontent.com/u/1253659?v=3","gravatar_id":"","url":"https://api.github.com/users/tony612","html_url":"https://github.com/tony612","followers_url":"https://api.github.com/users/tony612/followers","following_url":"https://api.github.com/users/tony612/following{/other_user}","gists_url":"https://api.github.com/users/tony612/gists{/gist_id}","starred_url":"https://api.github.com/users/tony612/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tony612/subscriptions","organizations_url":"https://api.github.com/users/tony612/orgs","repos_url":"https://api.github.com/users/tony612/repos","events_url":"https://api.github.com/users/tony612/events{/privacy}","received_events_url":"https://api.github.com/users/tony612/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-05T15:47:10Z","updated_at":"2016-08-08T22:17:06Z","closed_at":"2016-08-08T22:17:06Z","body":"When I opened the console after building the dev release(`$ mix release`), I got and error:\r\n```\r\n$ bin/myapp console\r\n[info] Application myapp exited: Myapp.start(:normal, []) returned an error: shutdown: failed to start child: Myapp.Endpoint\r\n    ** (EXIT) shutdown: failed to start child: Phoenix.CodeReloader.Server\r\n        ** (EXIT) an exception was raised:\r\n            ** (UndefinedFunctionError) function Mix.Project.config/0 is undefined (module Mix.Project is not available)\r\n                Mix.Project.config()\r\n                (phoenix) lib/phoenix/code_reloader/server.ex:29: Phoenix.CodeReloader.Server.init/1\r\n                (stdlib) gen_server.erl:328: :gen_server.init_it/6\r\n                (stdlib) proc_lib.erl:247: :proc_lib.init_p_do_apply/3\r\n```\r\n\r\nIt's a Phoenix project with code_reloader on in dev env."}}
{"actor":{"display_login":"bitwalker"}}