how to install pm2 on node js 8 ?
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 43.3k
- Forks
- 2.7k
- PR merge metrics
- No merged PRs in 30d
Description
===============================================================================
--- Daemon logs --------------------------------------------
/root/.pm2/pm2.log last 20 lines:
PM2 | at God.deleteProcessId (/root/.nvm/versions/node/v8.17.0/lib/node_modules/pm2/lib/God/ActionMethods.js:366:9)
PM2 | at Server.onmessage (/root/.nvm/versions/node/v8.17.0/lib/node_modules/pm2/node_modules/pm2-axon-rpc/lib/server.js:104:6)
PM2 | at emitTwo (events.js:126:13)
PM2 | at RepSocket.emit (events.js:214:7)
PM2 | at Parser. (/root/.nvm/versions/node/v8.17.0/lib/node_modules/pm2/node_modules/pm2-axon/lib/sockets/rep.js:51:15)
PM2 | at emitOne (events.js:116:13)
PM2 | at Parser.emit (events.js:211:7)
PM2 | at Parser._write (/root/.nvm/versions/node/v8.17.0/lib/node_modules/pm2/node_modules/amp/lib/stream.js:91:16)
PM2 | at Object.God.logAndGenerateError (/root/.nvm/versions/node/v8.17.0/lib/node_modules/pm2/lib/God/Methods.js:34:15)
PM2 | at /root/.nvm/versions/node/v8.17.0/lib/node_modules/pm2/lib/God/ActionMethods.js:367:30
PM2 | at Object.God.stopProcessId (/root/.nvm/versions/node/v8.17.0/lib/node_modules/pm2/lib/God/ActionMethods.js:289:14)
PM2 | at God.deleteProcessId (/root/.nvm/versions/node/v8.17.0/lib/node_modules/pm2/lib/God/ActionMethods.js:366:9)
PM2 | at Server.onmessage (/root/.nvm/versions/node/v8.17.0/lib/node_modules/pm2/node_modules/pm2-axon-rpc/lib/server.js:104:6)
PM2 | at emitTwo (events.js:126:13)
PM2 | at RepSocket.emit (events.js:214:7)
PM2 | at Parser. (/root/.nvm/versions/node/v8.17.0/lib/node_modules/pm2/node_modules/pm2-axon/lib/sockets/rep.js:51:15)
PM2 | at emitOne (events.js:116:13)
PM2 | at Parser.emit (events.js:211:7)
PM2 | 2022-10-27T14:03:28: PM2 log: [PM2] This PM2 is not UP TO DATE
PM2 | 2022-10-27T14:03:28: PM2 log: [PM2] Upgrade to version 5.2.2
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the reported setup with Node.js 8.17.0 and inspect lib/God/ActionMethods.js, lib/God/Methods.js, and the daemon log. Because the issue only asks how to install and provides no expected code change or test, define a reproducible installation failure and a passing installation outcome before proposing work.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, node.js
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100