Mix phoenix.gen.secret doesn't work

Hi,

I try to generate a secret with mix phoenix.gen.secret but I have this error when I run this command:

** (Mix) The task "phoenix.gen.secret" could not be found. Did you mean "phx.gen.presence"?

I saw an issue with the task “new”. But I don’t found the good URL for my case

Try phx instead of phoenix.

3 Likes

Thank you, it works, I did not notice that I had a different task name from the others! :slight_smile:

1 Like

It’s not different per se, phoenix is deprecated.

3 Likes