benoitc / hackney

simple HTTP client in Erlang
Other
1.34k stars 427 forks source link

Failed to solve release dependency certifi #254

Closed Kozlov-V closed 8 years ago

Kozlov-V commented 8 years ago

I'm migrate my web-app to Cowboy 2.0 and Erlang 18.1 But i have problem with solve release when i add Hackney app to my_application.app.src file

{application, testcowboy, [
  {description, "Hello Erlang!"},
  {vsn, "0.1.0"},
  {modules, []},
  {registered, [testcowboy]},
  {applications, [
    kernel,
    stdlib,
    eredis,
    hackney,
    cowboy
  ]},
  {mod, {testcowboy_app, []}},
  {env, []}
]}.

When i do make i have this error:

APP    testcowboy.app.src
 GEN    distclean-relx-rel
===> Starting relx build process ...
===> Resolving OTP Applications from directories:
          /Users/asup/Documents/Develop/Erlang/testcowboy/ebin
          /Users/asup/Documents/Develop/Erlang/testcowboy/deps
          /usr/local/lib/erlang/lib
          /Users/asup/Documents/Develop/Erlang/testcowboy/apps
Failed to solve release:
 Dependency certifi is specified as a dependency but is not reachable by the system.

Thank you!

benoitc commented 8 years ago

well. I am not a user of erlang.mk myself. How does erlang.mk solves the dependencies? It looks like it try to guess which one to use depending on which file is available. So maybe it's a matter of providing an erlang.mk file?

Kozlov-V commented 8 years ago

Thank you! I`ll test it