Nächster PM2 -Start
# for development
pm2 start npm --name "next" -- run dev
# for production
npm run build
pm2 start npm --name "next" -- start
Charming Caracal
# for development
pm2 start npm --name "next" -- run dev
# for production
npm run build
pm2 start npm --name "next" -- start
pm2 start yarn --name "nextjs" --interpreter bash -- start