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

Issues booting app #3

Open
peitalin opened this issue Aug 12, 2018 · 4 comments
Open

Issues booting app #3

peitalin opened this issue Aug 12, 2018 · 4 comments

Comments

@peitalin
Copy link
Collaborator

Running into an issue when trying to run the phoenix app:

** (CompileError) lib/cryptscrape/accounts/user.ex:42: undefined function details/0
    (stdlib) lists.erl:1338: :lists.foreach/2
    (stdlib) erl_eval.erl:677: :erl_eval.do_apply/6
    (elixir) lib/kernel/parallel_compiler.ex:206: anonymous fn/4 in Kernel.ParallelCompiler.spawn_workers/6

Seems like it thinks details is a function in: lib/cryptscrape/accounts/user.ex:42 for some reason:

  def create_stripe_account(email) do
    request = Stripe.Customer.create(%{email: email}) |> IO.inspect
      case request do
       {:ok, data} ->
        details = %{email: data.email, id: data.id}
       {:error, data} ->
          IO.inspect data
        IO.puts "Stripe Did Not Work"
        details = %{email: email, id: "did not work"}
      end
      details
  end
@peitalin
Copy link
Collaborator Author

Nevermind, figured it out:
elixir-lang/elixir#3268

@peitalin
Copy link
Collaborator Author

Now just some issues with connecting to the database. Will investigate.

@fantypants
Copy link
Owner

fantypants commented Aug 13, 2018 via email

@fantypants
Copy link
Owner

fantypants commented Aug 13, 2018 via email

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