Closed antalvarenga closed 6 years ago
@antalvarenga here's a few of the files that should have been backed up after running that command:
router.ex.bak
app.html.eex.bak
All files that were backed-up will end in bak. Are those not there?
They're not, I searched for any .bak file and there are none. Are they supposed to be right next to the new file?
@antalvarenga What version of phoenix are you using?
{:phoenix, "~> 1.3.0"}
Okay, I recently had an issue where my phoenix version was lower than 1.3 and it would not create the appropriate backup files. When I ran mix phoenix.new --version, I found that my version differed from the mix.exs file and that caused the issue when installing phauxth.
I don't think it's that, i ran mix phx.new --version (I used the phx installer) and it returns Phoenix v1.3.0
Edit Actually running mix phoenix.new -v yields the same result
Found the issue, I was running an outdated version of the installer. Thanks for the help and sorry for the time I took from you!
I ran the installer with an existing app (mix phauxth.new --confirm --remember) and whether I prompted "y" or "n" when asking if I wanted to overwrite files, I couldn't find any backup files. Thank you for Phauxth.