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

Could not compile dependency :gocardless, "mix compile" failed. #13

Open
joyboy67 opened this issue Jul 3, 2023 · 0 comments
Open

Could not compile dependency :gocardless, "mix compile" failed. #13

joyboy67 opened this issue Jul 3, 2023 · 0 comments

Comments

@joyboy67
Copy link

joyboy67 commented Jul 3, 2023

Hello I get this error with deps.compile

I use Phoenix 1.7.6

$ mix deps.compile gocardless
==> gocardless
Compiling 36 files (.ex)
warning: Application.fetch_env!/2 is discouraged in the module body, use Application.compile_env/3 instead
  lib/gocardless/utils/comms.ex:2: Gocardless.Utils.Comms

warning: Application.fetch_env!/2 is discouraged in the module body, use Application.compile_env/3 instead
  lib/gocardless/utils/comms.ex:3: Gocardless.Utils.Comms

warning: Application.fetch_env!/2 is discouraged in the module body, use Application.compile_env/3 instead
  lib/gocardless/utils/comms.ex:4: Gocardless.Utils.Comms


== Compilation error in file lib/gocardless/utils/comms.ex ==
** (ArgumentError) could not fetch application environment :api_base for application :gocardless because the application was not loaded nor configured
    (elixir 1.14.3) lib/application.ex:730: Application.fetch_env!/2
    lib/gocardless/utils/comms.ex:2: (module)
could not compile dependency :gocardless, "mix compile" failed. Errors may have been logged above. You can recompile this dependency with "mix deps.compile gocardless", update it with "mix deps.update gocardless" or clean it with "mix deps.clean gocardless"
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

1 participant