Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Duplicated modules #211

Closed
DennisKh opened this issue Feb 16, 2019 · 1 comment
Closed

Duplicated modules #211

DennisKh opened this issue Feb 16, 2019 · 1 comment

Comments

@DennisKh
Copy link

Please help solve this problem. It appears when I try to create a new tag on Gitlab, but everything works locally

Release failed, during .boot generation:
        Duplicated modules: 
    	mochiweb_util specified in rabbit_common and mochiweb
    	mochinum specified in rabbit_common and mochiweb
    	mochijson2 specified in rabbit_common and mochiweb
The command '/bin/sh -c mix release --env=prod --no-tar' returned a non-zero code: 1

My deps:

[
      {:phoenix, "~> 1.3.4"}, 
      {:phoenix_pubsub, "~> 1.0"},
      {:phoenix_ecto, "~> 3.4"},
      {:mariaex, "~> 0.8.4"},
      {:phoenix_html, "~> 2.13.0"}, #2.12.0
      {:phoenix_live_reload, "~> 1.0", only: :dev},
      {:gettext, "~> 0.11"},
      {:cowboy, "~> 1.0"},
      {:plug_cowboy, "~> 1.0"},
      {:drab, "~> 0.10.1"}, #0.10.0
      {:ecto, "~> 2.2.1"},
      {:tzdata, "0.5.19"},
      {:timex, "3.4.2"},
      {:distillery, "~> 2.0", runtime: false},
      {:exoml, "0.0.2"},
      {:httpoison, "~> 1.3.0"},
      {:browser, "~> 0.4.3"},
      {:amqp, "~> 0.2.2"}
    ]
@etrepum
Copy link
Member

etrepum commented Feb 16, 2019

Unfortunately this is not an issue caused by mochiweb so I can’t really do much to help you. It sounds like two of your dependencies (amqp is probably the one that depends on rabbitmq, not sure which has a mochiweb dependency) have a conflict with transitive dependencies (mochiweb and rabbitmq). I don’t know much about mix or any of your dependencies so that’s about all the help I can give.

@etrepum etrepum closed this as completed Feb 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants