tobytripp
ArgumentError installing nerves_bootstrap
Hi there, I’m trying to get started with Nerves but I get an error on the final step of the installation process.
I’m on an M1 Mac,
Elixir 1.15.1
Erlang 26.0.2
When I try to install nerves_bootstrap, the following is the result:
$ mix archive.install hex nerves_bootstrap
Resolving Hex dependencies…
Resolution completed in 0.019s
New:
nerves_bootstrap 1.11.5
- Getting nerves_bootstrap (Hex package)
All dependencies are up to date
Compiling 12 files (.ex)== Compilation error in file lib/attic/env.ex ==
** (ArgumentError) could not call Module.put_attribute/3 because the module Nerves.Bootstrap.Aliases is in read-only mode (@after_compile)
(elixir 1.15.1) lib/module.ex:2305: Module.assert_not_readonly!/2
(elixir 1.15.1) lib/module.ex:2007: Module.put_attribute/5
lib/attic/env.ex:2: (module)
Any ideas?
Marked As Solved
jjcarstens
@tobytripp Can you try the newly released nerves_boostrap v1.12.1? It completely removes the legacy tasks that are showing in your failure traces here so I’m hopeful it fixes things for you
Also Liked
tobytripp
✗ xcode-select --install
xcode-select: error: command line tools are already installed, use "Software Update" in System Settings to install updates
Last Post!
tobytripp
Popular in Questions
Other popular topics
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #elixirconf-us
- #advent-of-code
- #distillery
- #processes
- #forms
- #api
- #metaprogramming
- #security
- #hex










