: my operation procedure is as follows
enter pm2 start dev
to the startup file directory
View the process pm2 list
show that the process just started successfully has an error
View the log pm2 log
I can start
by using the original method cross-env NODE_ENV=dev node server[question]
pm2 ;