Today while starting a brand new Phoenix app using instructor, I got this error message:
❯ mix deps.get
Resolving Hex dependencies...
Resolution completed in 0.687s
Because the lock depends on swoosh 1.16.9 which depends on req ~> 0.5 or ~> 1.0, the lock requires req ~> 0.5 or ~> 1.0.
And because every version of instructor depends on req ~> 0.4.0, the lock is incompatible with instructor.
And because your app depends on the lock, no version of instructor is allowed.
So, because your app depends on instructor ~> 0.0.5, version solving failed.
** (Mix) Hex dependency resolution failed
Swoosh is the default in Phoenix at the moment, and brings req via ~> 0.5 or ~> 1.0 (optional).
In this PR, I propose we follow the same pattern.
Feel free to adapt, my main goal is to make sure we can use instructor by default with new Phoenix installs.
If someone needs a quick fix until this gets merged
Today while starting a brand new Phoenix app using instructor, I got this error message:
Swoosh is the default in Phoenix at the moment, and brings req via
~> 0.5 or ~> 1.0 (optional)
.In this PR, I propose we follow the same pattern.
Feel free to adapt, my main goal is to make sure we can use instructor by default with new Phoenix installs.
If someone needs a quick fix until this gets merged