Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
nelsonic opened this issue Feb 6, 2017 · 1 comment
Closed

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

nelsonic opened this issue Feb 6, 2017 · 1 comment

Comments

@nelsonic
Copy link
Member

nelsonic commented Feb 6, 2017

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

@nelsonic
Copy link
Member Author

nelsonic commented Feb 6, 2017

Looked at: phoenixframework/phoenix#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 😜

@nelsonic nelsonic closed this as completed Feb 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant