The install script by default install latest version pm2 (at now it is 4.20), this version depending a node-js v8 or higer, but script install v6.9.2.
So I fix it by replace "npm install -g pm2" to "npm install -g pm2@3.5.1"
Sorry for my bad english.
The install script by default install latest version pm2 (at now it is 4.20), this version depending a node-js v8 or higer, but script install v6.9.2.
So I fix it by replace "npm install -g pm2" to "npm install -g pm2@3.5.1"
Sorry for my bad english.