-
-
Notifications
You must be signed in to change notification settings - Fork 187
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Running mix compile.nerves_package
crashes
#927
Comments
Could you run Out of curiosity, where are you seeing the reference to |
Fixes #927 This previously ignored the return of `Nerves.Env.ensure_loaded/1` which could actually return an `{:error, _}` tuple. When calling the `compile.nerves_package` manually, it would crash with a confusing error. This instead checks the return and raises on error. It also adjusts the documentation on how/when this task is used
Fixes #927 This previously ignored the return of `Nerves.Env.ensure_loaded/1` which could actually return an `{:error, _}` tuple. When calling the `compile.nerves_package` manually, it would crash with a confusing error. This instead checks the return and raises on error. It also adjusts the documentation on how/when this task is used
Hi, thanks for quick response! I found it here, in the official documentation. I guess some broader documentation could be useful. I was messing around with tasks when trying to locate binaries not contained within the artifact located in |
Got it. Thanks. I refreshed the hexdocs to include @jjcarstens's documentation fix. The best places to go for help are to either post something on the Elixir forum (add the Nerves label for someone to see it) or join the Elixir Discord or Slack and post to the #nerves channel. |
Environment
Current behavior
After running
mix compile.nerves_package
in a new project the compilation crashes:stacktrace:
The text was updated successfully, but these errors were encountered: