fwconsole ma install pm2
ERROR: npm is known not to run on Node.js v8.16.0
You'll need to upgrade to a newer Node.js version in order to use this
version of npm. You can find the latest version at https://nodejs.org/
Node Package Manager is not installed
Unable to install module pm2:
- Failed to run installation scripts
Updating Hooks...Done
Chowning directories...Done
node --version
v8.16.0
npm --version
ERROR: npm is known not to run on Node.js v8.16.0
You'll need to upgrade to a newer Node.js version in order to use this
version of npm. You can find the latest version at https://nodejs.org/```
npm -g install pm2, but I wouldn’t do that. I am not sure what degree of compatibility between the installed version of node and the various packages is required.
[root@freepbx ~]# npm -g install pm2
ERROR: npm is known not to run on Node.js v8.16.0
You'll need to upgrade to a newer Node.js version in order to use this
version of npm. You can find the latest version at https://nodejs.org/
That’s what I meant. The installed version of node does not include npm. You could update the node package manually, but then you’d very likely run into other problems. BTW, why do you need pm2?