Nitrogen fails to create project

22 views
Skip to first unread message

LRP

unread,
Jul 28, 2021, 5:57:31 PM7/28/21
to Nitrogen Project / The Nitrogen Web Framework for Erlang

Hello,

I get this error when I enter make rel_cowboy PROJECT=promo

==> rel (generate)
ERROR: generate failed while processing /home/lloyd/nitrogen/rel: {'EXIT',{{badmatch,{error,"Release \"nitrogen\" uses non existing application common_test"}},
         [{rebar_reltool,generate,2,
                         [{file,"src/rebar_reltool.erl"},{line,53}]},
          {rebar_core,run_modules,4,[{file,"src/rebar_core.erl"},{line,493}]},
          {rebar_core,execute,6,[{file,"src/rebar_core.erl"},{line,418}]},
          {rebar_core,maybe_execute,8,
                      [{file,"src/rebar_core.erl"},{line,302}]},
          {rebar_core,process_dir1,7,[{file,"src/rebar_core.erl"},{line,261}]},
          {rebar_core,process_commands,2,
                      [{file,"src/rebar_core.erl"},{line,93}]},
          {rebar,main,1,[{file,"src/rebar.erl"},{line,58}]},
          {escript,run,2,[{file,"escript.erl"},{line,758}]}]}}
make[3]: *** [Makefile:305: generate] Error 1
make[3]: Leaving directory '/home/lloyd/nitrogen'
make[2]: *** [Makefile:325: rel_inner_full] Error 2
make[2]: Leaving directory '/home/lloyd/nitrogen'
make[1]: *** [Makefile:214: rel] Error 2
make[1]: Leaving directory '/home/lloyd/nitrogen'
make: *** [Makefile:86: rel_cowboy] Error 2

Erlang is installed:

$ erl
Erlang/OTP 22 [erts-10.6.4] [source] [64-bit] [smp:4:4] [ds:4:4:10] [async-threads:1]

Eshell V10.6.4  (abort with ^G)
1>

Any suggestions on why this fails?

Many thanks,

LRP

braun...@gmail.com

unread,
Aug 6, 2021, 2:34:29 AM8/6/21
to Nitrogen Project / The Nitrogen Web Framework for Erlang
Hello there. This is a bit late but it got me thinking. I never had such error. I guess it is because I always build Erlang from sources. You installed erlang from your distro's repository, right?

Popular distros tend to break erlang into several packages. In Ubuntu for example you would have to install such package with:
     sudo apt-get install erlang-common-test

Jesse Gumm

unread,
Aug 26, 2021, 9:35:23 AM8/26/21
to nitrogenweb
Hey folks,

Just a followup to this - the problem was that he had the basic debian erlang package (as you suspected, Franklin).  Once he installed the esl-erlang package from erlang-solutions.com, Nitrogen was able to build again.

-Jesse

--
You received this message because you are subscribed to the Google Groups "Nitrogen Project / The Nitrogen Web Framework for Erlang" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nitrogenweb...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/nitrogenweb/b5643cc2-001d-4b04-8b40-200be10604c7n%40googlegroups.com.


--
Jesse Gumm
Owner, Sigma Star Systems
414.940.4866 || sigma-star.com || @jessegumm
Reply all
Reply to author
Forward
0 new messages