GithubHelp home page GithubHelp logo

Comments (4)

essen avatar essen commented on June 3, 2024

The default has changed in relx so if you had a relx.config generated before you will need to add some new stuff like dev_mode and include_erts in your config. See the configuration that Erlang.mk now has to set to make it work like before: https://github.com/ninenines/erlang.mk/blob/master/plugins/bootstrap.mk#L94-L101

from erlang.mk.

lightuponcloud avatar lightuponcloud commented on June 3, 2024

Thank you for prompt reply. I appreciate that.

I tried updating relx.config with the same result.

{release, {pubsub, "0.0.1"}, [pubsub, sasl, runtime_tools]}.
{dev_mode, false}.
{include_erts, true}.
{extended_start_script, true}.
{sys_config, "rel/sys.config"}.
{vm_args, "rel/vm.args"}.
{overlay, [
    {template, "rel/version", "version"}
]}.

Is there's anything else that should be changed ?

Thank you

from erlang.mk.

lightuponcloud avatar lightuponcloud commented on June 3, 2024

I added inets to relx and it worked:
{release, {pubsub, "0.0.1"}, [pubsub, sasl, inets, runtime_tools]}.

Thank you very much

from erlang.mk.

essen avatar essen commented on June 3, 2024

You also need inets either as a dependency of the release or of the application that uses httpc yes. In Erlang.mk that means adding it to LOCAL_DEPS of your application.

from erlang.mk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.