Process manager module fails to install

Hi everyone,

I am running FreePBX 13.0.192.14 with Asterisk 13.16.0 on pure CentOS 7 (not distro).
Most of the modules have been installed successfully. However, when I was trying to install the new module “Process Management”, I get the following error:

In GUI:

In logs:

[root@ast01 ~]# amportal a dbug
OUT >
==> /var/log/httpd/error_log <==
sh: node: command not found
OUT >
==> /var/log/asterisk/freepbx.log <==
[2017-Jun-28 16:09:01] [INFO] (pm2/Pm2.class.php:29) - Node is not installed

The fault seems to be similar to this one, but in my case there are no warnings about nodejs, and there is no such a package at all.

Moreover, I do not see any package called “nodejs” in any of the standard repositories:

[root@ast01 ~]# yum list nodejs
<< output truncated >>
Error: No matching Packages to list

[root@ast01 ~]# yum install nodejs
<< output truncated >>
No package nodejs available.
Error: Nothing to do

[root@ast01 ~]# yum whatprovides nodejs
<< output truncated >>
No matches found

So, I need a piece of advice from the community on the cause of this issue.
Is this issue related to the missing “nodejs” package? If “yes”, which repository should I use to find it?
If “no”, what else should I check?

Thank you in advance.

https://wiki.freepbx.org/display/FOP/Installing+FreePBX+14+on+CentOS+7#InstallingFreePBX14onCentOS7-Installnodejs

Andrew, you are referring to the installation guide for FreePBX 14. However, I am running 13th version, and nodejs is not mentioned for it.

Should I install it to FreePBX 13 as well?

Thank you Andrew. Notejs installation resolved the issue.

1 Like