Hello, we are using Windows 10 with Elixir version 1.14.2. We tried to run mix ecto.create but the error message says, The task ecto.create could not be found. Note no mix.exs found in the current directory.
But checking the files, mix.exs file was there. We tried to run mix help and we couldn’t find any command about ecto like ecto.create, ecto.load, ecto.migrate, etc.
What might be the reason or the fix for this?
I tried googling for possible solution but didn’t found a good one. Thanks in advance
Yes, i am sure we are in the main folder of the project and the dir command (equivalent of ls in Linux) shows all the folders and files of the project (including that mix.exs file)
I believe, the main reason why we can’t do mix ecto.create is because there’s no ecto.some_command that can be found when we run mix help.
But the question, why there’s no such ecto command available? And how can we possibly fix this issue?
Unfortunately, I am not on Windows, so I can’t be of much help other than that. I just didn’t want to leave you hanging too long without a response. Hopefully, someone else can be of value.