Open MrTortoise opened 6 years ago
Asking the Hex team about this.
On Wed, Oct 4, 2017 at 10:56 AM, John Nicholas notifications@github.com wrote: installed the generator and templates ... then got this
Are you sure you want to install "mix_generator-0.1.9.ez"? [Yn] y
creating /home/john/.mix/archives/mix_generator-0.1.9 john@John-Ubuntu:~/git$ mix template.hex ** (UndefinedFunctionError) function Hex.API.Package.search/1 is undefined or private. Did you mean one of:
(hex) Hex.API.Package.search("gen_template") lib/mix/tasks/template.hex.ex:15: Mix.Tasks.Template.Hex.run/1 (mix) lib/mix/task.ex:301: Mix.Task.run_task/3 (mix) lib/mix/cli.ex:75: Mix.CLI.run_task/2 (elixir) lib/code.ex:376: Code.require_file/2
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub [https://github.com/pragdave/mix_generator/issues/6] , or mute the thread [https://github.com/notifications/unsubscribe-auth/AAApmOZDRvEOaVQKhb7TCdEMIeRz01_nks5so6qcgaJpZM4Pt2GS] .
So, they’ve changed a function I was calling in Hex.API. I think I have pushed a change that should work with both old and new hexes. Any chance you could try out master and see if it works for you? Thanks
Dave
On Thu, Oct 5, 2017 at 5:33 PM, Dave Thomas pragdave@gmail.com wrote: Asking the Hex team about this.
On Wed, Oct 4, 2017 at 10:56 AM, John Nicholas notifications@github.com wrote: installed the generator and templates ... then got this
Are you sure you want to install "mix_generator-0.1.9.ez"? [Yn] y
creating /home/john/.mix/archives/mix_generator-0.1.9 john@John-Ubuntu:~/git$ mix template.hex ** (UndefinedFunctionError) function Hex.API.Package.search/1 is undefined or private. Did you mean one of:
(hex) Hex.API.Package.search("gen_template") lib/mix/tasks/template.hex.ex:15: Mix.Tasks.Template.Hex.run/1 (mix) lib/mix/task.ex:301: Mix.Task.run_task/3 (mix) lib/mix/cli.ex:75: Mix.CLI.run_task/2 (elixir) lib/code.ex:376: Code.require_file/2
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub [https://github.com/pragdave/mix_generator/issues/6] , or mute the thread [https://github.com/notifications/unsubscribe-auth/AAApmOZDRvEOaVQKhb7TCdEMIeRz01_nks5so6qcgaJpZM4Pt2GS] .
youll have to forgive me i cant figure out how
OK, I pushed version 0.1.14-experimental to hex. mix archive.install hex mix_templates
On Fri, Oct 6, 2017 at 5:33 PM, John Nicholas notifications@github.com wrote: youll have to forgive me i cant figure out how
— You are receiving this because you commented. Reply to this email directly, view it on GitHub [https://github.com/pragdave/mix_generator/issues/6#issuecomment-334885693] , or mute the thread [https://github.com/notifications/unsubscribe-auth/AAApmH8KdHgUf5qFtEvPo_aEUVM83zy8ks5spqq-gaJpZM4Pt2GS] .
Thanks looks like that works!
installed the generator and templates ... then got this