Nodejs package not available

Hi,

I hope I am not duplicating the question and it’s the right place to seek for some help.
I have been googling for days but no luck.

I’m trying to install UCP module. However it keeps saying I need to install nodejs package.
But when I try to install nodejs. It gave me errors as follows:

[root@voip01 rear]# yum install nodejs
Loaded plugins: fastestmirror, kmod, refresh-packagekit
Loading mirror speeds from cached hostfile
Setting up Install Process
No package nodejs available.
Error: Nothing to do

I even tried the instructions from nodejs.org. But it turned out the following error message:

[root@voip01 rear]# curl --silent --location https://rpm.nodesource.com/setup_6.x | bash -

## Installing the NodeSource Node.js 6.x repo...


## Inspecting system...

+ rpm -q --whatprovides redhat-release || rpm -q --whatprovides centos-release || rpm -q --whatprovides cloudlinux-release || rpm -q --whatprovides sl-release
+ uname -m

## You don't appear to be running a supported version of Enterprise Linux. Please contact NodeSource at https://github.com/nodesource/distributions/issues if you think this is incorrect or would like your architecture to be considered for support. Include your 'distribution package' name: schmooze-release-6-5.shmz65.12.x86_64. 

Now I am really stuck…

I’m relatively new to this field. Any help would be appreciated.

TIA.

Sean Tsang

What Distro are you using? NodeJS is included with FreePBX Distro

Hi Tony,

Thanks for your promptly reply.

[root@voip01 ~]# cat /etc/schmooze/pbx-version
5.211.65-18

I upgrade this installation from previous version with Asterisk 11

Thanks!

Sean Tsang

Your distro version is far too old. You need to be on 6.x. You are on 5.x

You need to upgrade the OS, following these instructions:

http://wiki.freepbx.org/display/PPS/FreePBX-Distro-5.211.65

Thanks guys!

I have done that via my system admin GUI.

Everything is perfect now!!