Menu

The Module Named "Process Management" is required, yours is not installed.

2017-10-26
2017-10-26
  • Patrick Vadnais

    Patrick Vadnais - 2017-10-26

    Hello all!

    What my ultimate goal is to be able to use the chat function of my softphone client via XMPP and Prosody, but I am having difficulty installing the modules I need.

    In order to install/enable XMPP from the FreePBX Module Admin page, it is required to have "Process Management" installed.

    When I try to install "Process Management" (by either the local file or download/upgrade) I get the error, "Node Package Manager is not installed. Error(s) installing pm2: Failed to run installation scripts".

    When I try to install NPM (Node Package Manager" I get the warning, "ERROR: npm is known not to run on Node.js v4.5.0 Node.js 4 is supported but the specific version you're running has a bug known to break npm. Please update to at least 4.7.0 to use this version of npm. You can find the latest release of Node.js at https://nodejs.org"

    So I go to nodejs.org and find all kinds of versions, but am unsure which one to get for my Raspberry Pi version3. (ARMv6 ???) Which once should I download and install?

    Or am I going about this all wrong to get chat functionality?

    Thanks!

     
  • Ronald Raikes

    Ronald Raikes - 2017-10-27

    This is how I install nodejs:

    curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
    apt-get -y install nodejs
    apt-get -y install libicu-dev
    
     
  • Gernot

    Gernot - 2017-10-29

    I assume you are using a Raspbian Jessie based RasPBX build, because the latest Stretch based version (raspbx-10-10-2017) already has nodejs installed. When I built this image I found the repository version was too old for FreePBX, therefore I also had to install from nodesource.com. Maybe you want to consider upgrading.

     

Log in to post a comment.