Open JonRCahill opened 8 years ago
Sorry being late to respond.
Is it possible to post your mix.exs
? (how deps defined?) The above mentioned code seems working in my environment with following deps definition and would like to isolate the condition.
defmodule SomeModule.Mixfile do
use Mix.Project
...
defp deps do
[
{:exvcr, "~> 0.8", only: :test},
{:ibrowse, "~> 4.2"},
{:httpotion, "~> 3.0"}
]
end
end
Hi!! I had the same problem and was because I didn't know ibrowse is a mandatory dependency to have installed.
Thx @parroty !
Same issue here, I had httpoison
but I didn't have ibrowse
as a deps. This is a little bit odd since httpoison
uses ibrowse
.
Hmm I didn't have any problem using HTTPotion
, just make sure that you have this block in your test module:
setup_all do
HTTPoison.start()
:ok
end
Hi I have tried to setup exvcr and use the example to ensure everything is working but I keep getting the following error:
my code is as follows (the example provided by exvcr):
I am using the latest elixir version, 1.3.4:
and using Phoenix 1.2.1 (but I don't think that will affect anything).
I have tried using both the latest version on hex.pm and the latest github version.
Any help would be great!