tobytripp
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?
Trending in Questions
I’m working on a project that simulates the bumbl example in the programming phoenix book. It acts almost like an email client. We have a...
New
Hi everyone,
I am toying with the idea of building a “match maker” for giving personal help to people that wants to start coding.
I sta...
New
Hello,
I know there is an approach for handling lists that allows for optimized traversal, but I can’t recall the specific method (somet...
New
Documentation
While reading the Scoped Routes section, I noticed that the documentation currently refers to a problem without explainin...
New
So my question is quite simple and i have found no conclusive answer on forum, google or AI.
Should we use :erlang.float for Integer to ...
New
I recently noticed that Elixir’s Logger defaults its primary log level to :debug when no :logger, :level application configuration is pre...
New
I’m new to elixir and just tried to install the elixirLS extension for VScode(ium) and it is throwing some errors that I would like help ...
New
Other Trending Topics
Hey, I’m Jesse and I’m the main contributor behind Dexter, a full-featured, lightning-fast Elixir LSP optimized for large codebases. It s...
New
I am happy to introduce the very α version of the new programming language compiled to BEAM.
Welcome Cure.
It has literally three kille...
New
Hi there! We created Gust: A task orchestrator inspired by Airflow.
For those who have never heard about Aiflow, it’s a Python-based wor...
New
Hi everyone!
The first release candidate for the Expert language server project is now available!
We’ve published a press release detai...
New
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Xamal is a deployment tool for Elixir apps that deploys native releases to bare metal servers over SSH. It’s a port of GitHub - basecamp/...
New
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #library
- #deployment
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #elixirconf
- #channels
- #exunit
- #discussion
- #code-sync
- #podcasts
- #javascript
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixirconf-us
- #ai
- #blog-post
- #elixir-ls
- #phoenix_html
- #iex
- #graphql
- #genstage
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #processes
- #api
- #forms
- #elixirconf-eu
- #metaprogramming
- #hex










Showing Posts 19 to 10- Show Best Posts
- Show All (oldest first)
- Show All (newest first)
tobytripp
That seems to have worked, thanks! At least, it ran without error.
Thanks again!
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
tobytripp
Oops. Forgot to do it in an empty directory. Let me try again…
Hm, looks like it might be an ssl error?
fhunleth
What’s
Blinker.MixProject? That sounds like the problem.tobytripp
tobytripp
outlog
fishing, but I wonder if installing Xcode Command Line Tools is required by asdf nowadays?
maybe try
xcode-select --installin terminal, and then (re)install erlang/elixir using asdffhunleth
Hi @tobytripp,
Sorry for the delays in responding. It seems like mid-August caught up with Jon and me.
As far as I can tell, you’re doing everything right. The error that you’re getting should have been a good hint, but I can not reproduce it. I created an issue to track it.
Could you try installing
nerves_bootstraplike this and let me know if it works?You won’t be able to use Nerves versions before v1.8.0, but that version is over a year old now.
Thanks for your patience with what should have been an easy step.
tobytripp
I’m in an empty directory off of $HOME
Same error.
jjcarstens
What directory are you in when running
mix archive.install hex nerves_bootstrap?Can you also try building Erlang with OpenSSL 1.1