dwyl / learn-phoenix

:fire: Phoenix is the web framework without compromise on speed, reliability or maintainability! Don't settle for less. :rocket:
649 stars 45 forks source link

** (Mix) The task "ecto.create" could not be found #16

Closed nelsonic closed 7 years ago

nelsonic commented 7 years ago

How to resolve this issue if you see it while setting up a new Phoenix project ...

nelsonic commented 7 years ago

Looked at: https://github.com/phoenixframework/phoenix/issues/1624 and: http://stackoverflow.com/questions/32089058/postgres-phoenix-elixir-install-errors

Turns out it was PEBKAC I forgot to

cd project-name

Duh...! after running

mix phonix.new project-name

you've got to change directory in your project! else there is no ecto command! #noob 😜