pm2 start error : Script index.js had too many unstable restarts (15). Stopped. "errored"

전은규·2021년 9월 25일
0

에러수정

목록 보기
3/10

https://lifesaver.codes/answer/too-many-unstable-restarts

Are you using nvm or n to install pm2?
I think it's due to a bad node version from the modules. Please try:

pm2 kill
rm -rf node_modules
npm i
pm2 start index.js -xn 'myapp'

profile
성장하는개발자

0개의 댓글