Skip to content

(ArgumentError) could not fetch application environment :globals for application :soap because configuration :globals was not set #88

Description

@ismailunal

Hi there,

With Elixir 1.9.1 I couldn't go further instead I receive this error: "(ArgumentError) could not fetch application environment :globals for application :soap because configuration :globals was not set"

I tried creating a config/config.exs

import Config

config :soap, :globals, version: "1.1"

import_config "#{config_env()}.exs"

And mix.exs file is as follows;

defmodule Countryinfoserv.MixProject do
  use Mix.Project

  def project do
    [
      app: :countryinfoserv,
      version: "0.1.0",
      elixir: "~> 1.9",
      start_permanent: Mix.env() == :prod,
      deps: deps()
    ]
  end

  # Run "mix help compile.app" to learn about applications.
  def application do
    [
      extra_applications: [:logger, :soap]
    ]
  end

  # Run "mix help deps" to learn about dependencies.
  defp deps do
    [
      # {:dep_from_hexpm, "~> 0.3.0"},
      # {:dep_from_git, git: "https://github.com/elixir-lang/my_dep.git", tag: "0.1.0"}
      {:soap, "~> 1.0"}
    ]
  end
end

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