smpallen99 / whatwasit

Track changes to your Ecto models
MIT License
63 stars 8 forks source link

installation error #20

Open mannhegde opened 6 years ago

mannhegde commented 6 years ago
mix whatwasit.install

running above command throwing below error

* creating priv/repo/migrations/20180219080831_create_whatwasit_version.exs
** (UndefinedFunctionError) function Mix.Phoenix.copy_from/5 is undefined or private. Did you mean one of:

      * copy_from/4
(phoenix) Mix.Phoenix.copy_from([".", :whatwasit], "priv/templates/whatwasit.install/models/whatwasit", "", [base: "AppName", alias: "AppName", human: "AppName", web_module: "AppNameWeb", module: "AppName.AppName", scoped: "AppName", singular: "appName", path: "appName", schema_fields: "", changeset_fields: "~w(item_type item_id object action)a"], [{:eex, "version.ex", "web/models/whatwasit/version.ex"}])

lib/mix/tasks/whatwasit.install.ex:122: Mix.Tasks.Whatwasit.Install.gen_version_model/1
    lib/mix/tasks/whatwasit.install.ex:84: Mix.Tasks.Whatwasit.Install.do_run/1
    (mix) lib/mix/task.ex:314: Mix.Task.run_task/3
    (mix) lib/mix/cli.ex:80: Mix.CLI.run_task/2
    (elixir) lib/code.ex:677: Code.require_file/2

basically (phoenix) Mix.Phoenix.copy_from takes only 4 args and 5 are sent from here. kindly help fixing this.