kittoframework / kitto

Kitto is a framework for interactive dashboards written in Elixir
http://kitto.io/dashboards/sample
MIT License
956 stars 58 forks source link

Brand new project can't build with distillery #108

Closed davejlong closed 7 years ago

davejlong commented 7 years ago

After generating a brand new project with mix kitto.new my_dashboard --edge, and adding the distillery dependency, the application can't run:

_build/prod/rel/my_dashboard/bin/my_dashboard foreground
15:53:45.443 [info] Starting Kitto server, listening on 127.0.0.1:4000
/Users/david/Projects/cage/cd_dash/_build/prod/rel/cd_dash/releases/0.0.1/cd_dash.sh: line 723: 83237 Segmentation fault: 11  "$@" -- ${1+$ARGS}

Shutting down..
Node is not running!

Dependencies:

defp deps do
   [
      {:kitto, github: "kittoframework/kitto", branch: "master"},
      {:distillery, "1.3.1"}
   ]
end

Compiled binary with env MIX_ENV=prod mix release --env=prod

davejlong commented 7 years ago

Seems like it was an issue with the env MIX_ENV=prod part of the command. Recompiled and now it works.