Skip to content
This repository was archived by the owner on Jun 13, 2019. It is now read-only.
This repository was archived by the owner on Jun 13, 2019. It is now read-only.

mix docker.build producing error when building. #43

Description

@haritimeset
19:28:33.570 [error] Loading of /opt/app/_build/prod/lib/cowboy/ebin/cowboy_websocket_handler.beam failed: :badfile


19:28:33.570 [error] beam/beam_load.c(1287): Error loading module cowboy_websocket_handler:
  mandatory chunk of type 'Atom' not found



warning: behaviour :cowboy_websocket_handler is undefined
  lib/phoenix/endpoint/cowboy_websocket.ex:1

warning: function :cowboy_req.compact/1 is undefined (module :cowboy_req is not available)
  lib/phoenix/endpoint/cowboy_websocket.ex:73

warning: function :ranch.get_port/1 is undefined (module :ranch is not available)
  lib/phoenix/endpoint/cowboy_handler.ex:114

I am trying to deploy a phoenix app to production.
Elixir - 1.4.5 and Phoenix v1.2.4

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions