codestates / codestates/AnimalChat

[Error Handling👾] aws pipeline 배포중 pm2 status errored

Open
#256 0 comments 0 reactions 0 assignees View on GitHub
error
Dominant language
JavaScript
Stars
0
Forks
3
PR merge metrics
No merged PRs in 30d

Description

## 어떤 에러인가요?
- aws pipeline 배포중 pm2 status가 online -> errored로 자꾸 바뀌는 현상

## 에러 메시지
```jsx
pm2 log 확인시
Script /home/ubuntu/AnimalChat/server/index.js had too many unstable restarts (16). Stopped. "errored"
```

## 에러 핸들링 방법
- 핸들링 방법에 대해 글이나 코드로 작성해주세요.
```jsx
node_modules 재설치
```

## 에러 핸들링을 위해 참고한 레퍼런스 링크
[블로그](https://velog.io/@stravinest/pm2-start-error-Script-index.js-had-too-many-unstable-restarts-15.-Stopped.-errored)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.