I’ve been working through Programming Phoenix, and the sample project “Rumbl”. At one point, we’re asked to create a migration with the command
mix ecto.gen.migration add_category_id_to_video. When I do this, I get the error
** (File.Error) could not remove file "...rumbl/_build/dev/lib/rumbl/priv": not owner. Stack trace:
(mix) lib/mix/utils.ex:312: Mix.Utils.symlink_or_copy/2 (mix) lib/mix/project.ex:414: Mix.Project.build_structure/2 (mix) lib/mix/tasks/compile.all.ex:15: Mix.Tasks.Compile.All.run/1 (mix) lib/mix/task.ex:296: Mix.Task.run_task/3 (mix) lib/mix/tasks/compile.ex:85: Mix.Tasks.Compile.run/1 (mix) lib/mix/task.ex:296: Mix.Task.run_task/3 lib/mix/ecto.ex:61: Mix.Ecto.ensure_repo/2``` I definitely am the owner of that folder, and I'm able to get around this and run the command successfully by manually deleting that folder beforehand. Is there something I'm missing here that would have caused this? I'm also getting this error now when running `mix ecto.migrate`, which I'd been able to do successfully in this project in the past. I'm on Windows 10, by the way. Thanks for your time.