Closed davejlong closed 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:
mix kitto.new my_dashboard --edge
_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
env MIX_ENV=prod mix release --env=prod
Seems like it was an issue with the env MIX_ENV=prod part of the command. Recompiled and now it works.
env MIX_ENV=prod
After generating a brand new project with
mix kitto.new my_dashboard --edge
, and adding the distillery dependency, the application can't run:Dependencies:
Compiled binary with
env MIX_ENV=prod mix release --env=prod