official documentation: http://pm2.keymetrics.io/docs...
npm install pm2-g installed successfully
pm2 start app.js
official documentation: http://pm2.keymetrics.io/docs...
npm install pm2-g installed successfully
pm2 start app.js
this app.js is written by you
pm2 just manages your program. App.js is the main file of the project you write. You can take a look at the basic usage of pm2
.C: Users aaa>npm install pm2 -g npm ERR! Unexpected end of input at 1:23103 npm ERR! false,"directories":{},"dist":{"shasum":"f8357e265f5768f2ca799a3241d1 npm ERR! ...
can pm2 specify ports if you directly use node server.js to specify the port number in the project, you can get but in pm2, you will randomly assign a port number to me every time you restart is there a way to assign the project port number ...
the express project has been configured with pm2 on the server and can be started successfully. The node port of express is 3000 now you can see the data under the corresponding node api by visiting http: 132.232.193.33:3000 about. My nginx currently...
download the project from the official website via git package.json npm nuxtpm2 ...
Environment win7,node v8.11.3 pm2 v3.2.8 question I started the program with pm2, and the terminal display was successful, but there was no such process in pm list, and the program did not start. I have no problem booting with node. Excuse me, how...