Unable to install module pm2 Failed to run installation scripts. Questo è l’errore che si presenta in alcuni casi quandi si tenta di aggiornare il modulo pm2 in FreePBX 13. Si risolve con:
# curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash - # apt install -y nodejs # fwconsole ma remove pm2 --force # rm -rf /home/asterisk/.package_cache/npm/ # rm -rf /home/asterisk/.npm # fwconsole ma downloadinstall pm2
enjoy 😉