I am working on ubuntu 14.04 LTS. I installed elixir as per instructions given in the offical website ran the following lines in console and everything works fine
Add Erlang Solutions repo: wget https://packages.erlang-solutions.com/erlang-solutions_1.0_all.deb && sudo dpkg -i erlang-solutions_1.0_all.deb
Run: sudo apt-get update
Run: sudo apt-get install elixir
But when i run :observer.start in the iex shell,i get the following error
** (UndefinedFunctionError) undefined function: :observer.start/0 (module :observer is not available) :observer.start()
I ran a few commands after looking up the net, to solve the issue
apt list | grep -i erlang
It gave back many lines of which this could be relevance
erlang-observer/unknown 1:18.0 amd64
Any help on how to make it work?
Update
It seems that other modules like :dbg and :mnesia is working. Though I cant confirm if all the modules are working. Also wonder why some are working and some arent?
:observer.startproperly starts the Erlang observer gui, as expected. The error you sentmodule :observer is not available- it seems the erlang module is missing. If your application or interactive shell makes a call to an unknown erlang module, then I think you should have someerl_crash.dumpfile containing more details to it. Will this tool erlang.org/doc/apps/tools/xref_chapter.html and details help you to zero down the issue? - Rohan Daxini