What could cause the `net_adm` kernel Erlang module to be unavailable?

百般思念 提交于 2020-01-21 19:18:30

问题


Installed Erlang (releases from 19 to 22) using

  • the Nix package manager
  • apt
  • and compiling from source

on Ubuntu 18.04 with Xmonad and Debian 9 running in the cloud, but every time, net_adm is not available through the Erlang shell event though other kernel modules are.

I assume that this is caused by an external system configuration because couldn't find anything about this online, so people are not complaining about it. (Only found one person so far.)


回答1:


Kind of ashamed to admit that I am an idiot, but net_adm was there all this time...

For some reason, it wouldn't autocomplete on the erl shell, but once typed out starting with net_adm: (such as the non-existent net_adm:ping()), and executed it, it would start recognizing the module, and provide a list of available functions when hitting the Tab key.



来源:https://stackoverflow.com/questions/59219351/what-could-cause-the-net-adm-kernel-erlang-module-to-be-unavailable

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!