You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Host OS: MacOS 14.1 Host CPU: arm64 Host LibC and Version
Apple clang version 15.0.0 (clang-1500.0.40.1)
Target: arm64-apple-darwin23.0.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
Nice project here! I trying to build a simple CLI with burrito but it seems to be referencing the wrong start module. I don’t know if I’m doing something wrong… This is my application module (entrypoint):
# lib/exlings/application.exdefmoduleExlings.Applicationdo@moduledoc""" Main application entrypoint to parse args and handle commands. """useApplicationaliasBurrito.Util.Args@impltruedefstart(_,_)doIO.puts("FUNCIONANDO")args=Args.get_arguments()IO.puts(args)Exlings.CLI.parse(args)System.halt(0)endend
And the initial module Exlings there’s no content besides a @moduledoc.
Trying to build and run it gives me this error:
08:22:11.188 [notice] Application exlings exited: exited in: Exlings.start(:normal, [])
** (EXIT) an exception was raised:
** (UndefinedFunctionError) function Exlings.start/2 is undefined or private
(exlings 0.1.0) Exlings.start(:normal, [])
(kernel 9.1) application_master.erl:293: :application_master.start_it_old/4
Kernel pid terminated (application_controller) ("{application_start_failure,exlings,{bad_return,{{'Elixir.Exlings',start,[normal,[]]},{'EXIT',{undef,[{'Elixir.Exlings',start,[normal,[]],[]},{application_master,start_it_old,4,[{file,\"application_master.erl\"},{line,293}]}]}}}}}")
Trying to move this implementation to the main module Exlings seems to raise the same not found function error.
Host
Host OS: MacOS Sonoma 14.1
Host CPU: arm64
Please run
zig version
in your Burrito project directory and write the version here:v0.11.0
Please run
elixir -v
in your Burrito project directory and write the version here:Target
Host OS: MacOS 14.1
Host CPU: arm64
Host LibC and Version
Nice project here! I trying to build a simple CLI with burrito but it seems to be referencing the wrong start module. I don’t know if I’m doing something wrong… This is my application module (entrypoint):
And the initial module
Exlings
there’s no content besides a@moduledoc
.Trying to build and run it gives me this error:
Trying to move this implementation to the main module
Exlings
seems to raise the same not found function error.My
mix.exs
is:The complete project can be found in https://github.com/zoedsoupe/exlings
The text was updated successfully, but these errors were encountered: