I picked up the “more scalable” somewhere on the project’s website I think. I’m trying it out, I noticed though that in this article Getting started with Nova - DEV Community the link to the installer is outdated.
Plus, unfortunately, the installation of rebar3 hangs for me (waited several minutes, yes I’m using a local rebar3). Tried several times, no progress in minutes unfortunately:
sh -c "$(curl -fsSL https://raw.githubusercontent.com/novaframework/rebar3_nova/master/install.sh)"
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 4880 100 4880 0 0 20326 0 --:--:-- --:--:-- --:--:-- 20944
Rebar3 could not be found in your $PATH. This might be cause you are
running a local installation or forgot to install it.
Do you want to install rebar3? (Y/n)
why could that be ?
Edit2: The curl
one-line installer on the website looks a bit off also… ?
Edit3: After digging to the core of the installer and running the escript
inside it manually, it worked for some reason:
Congratulations, you have installed Nova plugin for rebar3!
Try it out with typing:
$ rebar3 new nova my_first_app
Running that though gave - besides a few warnings - this error:
===> "/Users/xxx/.cache/rebar3/plugins/pmod_transform/ebin/pmod_transform.app" is missing applications entry
and after that, $ rebar3 shell
freezes here:
===> Verifying dependencies...
===> Analyzing applications...
===> Compiling myapp
Erlang/OTP 23 [erts-11.2.2.9] [source] [64-bit] [smp:12:12] [ds:12:12:10] [async-threads:1] [hipe] [dtrace]
Eshell V11.2.2.9 (abort with ^G)
1> ===> Booted myapp
===> Booted sasl
so opening localhost:8080
doesn’t yield the expected results. any advice what I’ve done wrong maybe ?
Edit4: After wiping erlang and rebar3 thoroughly and reinstalling, the install instructions worked.