-
Notifications
You must be signed in to change notification settings - Fork 51
Error when building for prod #56
Comments
So what is interesting is building for production, I see this stack trace ( |
If you're using Canary in production, I would recommend using the version on hex, rather than github, as it is more stable. As for the error, would you mind posting the whole stack trace? https://github.com/cpjk/canary/blob/master/lib/canary/plugs.ex#L207 doesn't look like it's doing much. |
@cpjk Definitely. Will do. I actually just realized it might be an old cached version (before the above commit ref) on my build server (rather than an unpublished pkg or something like that, if that is even possible) |
@cpjk Sorry terrible theories on my part :). So here is the undefined function from my error log. Expands to Elixir 1.4.2 Then when jumping into but on my server |
Turns out I had to add |
After deploying to a server, I am getting:
Abilities file:
Any thoughts on why this is failing after building and deploying (using distillery) to a server, but working locally? Not much to go on, but if you have encountered something similar, it would be great to hear! Otherwise will close this issue.
The text was updated successfully, but these errors were encountered: