Can't get PM2 to install #1132
-
|
I'm so glad I've found this REVISED page on how to install this software. Thanks to whoever took the time to write this up. I do want the pool control software to run at start up, but according to the docs, I need to install PM2, with this command: I'm in the main Pi directory (so that may be the issue), but when this command is issued, this is the response: I'm not the swiftest PI guy by any means, but can easily follow instructions... until something goes wrong.. so here I am. Am I in the right directory to get PM2 to install? if not, where should I be? (also, there is a request to Quit nodejs-poolController if its running. I'm assuming this can be done from the CL by using what command? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
If you are get PM2 running then you can manage the apps with 'pm2 stop name' . ie You did see this wiki page, yes? |
Beta Was this translation helpful? Give feedback.
-
|
So I'm trying to get the pool software to work on a new Pi OS install. I'm using Bookwork, not Trixie, and following the steps here: I will say the steps outlined in the Quick Start guide seem much easier/faster than the original steps I went thru, and for people like me, that's a very good thing, so hats off to whomever took the time to streamline the install process. I've started from scratch from a new OS install several times, ran all the scripts in the QuickStart guide, got PM2 installed, but am sure I'm just missing a step somewhere. HOWEVER, I do have an older version of the OS with the pool control software that is working fine, so for now, will just use it. Will revisit this soon.... |
Beta Was this translation helpful? Give feedback.
npmis node package manager and is installed with node. If you just runnpmit should bring up the help text. The-gflag means 'install globally' (as opposed to part of any specific software). Hence, it doesn't actually matter which directory you runnpm install -g pm2.If you are get PM2 running then you can manage the apps with 'pm2 stop name' . ie
pm2 stop njspc.You did see this wiki page, yes?