codestates / codestates/Dajavas
[Error] AWS CodeDeploy 파일 존재 배포 실패 에러 발생시
- Dominant language
- JavaScript
- Stars
- 2
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Description
## 어떤 에러인가요?
install 실패
- 파일이 이미 존재한다는 에러 메시지가 뜬다.
## 에러 메시지
```
The deployment failed because a specified file already exists at this location: ~~
```
## 에러 핸들링 방법
- 삭제하고 다시 시작하는 식으로 배포를 한다는 것 같다.
- 일단 파일이 있어서 에러가 나니 삭제를 하는 식으로 해줬다.
```
rm <파일명>
rm -r <폴더명>
- 뭔가 중요한거?? 패키지 json 같은거는 지울꺼냐고 한 번 더 뭍는 듯. yes 처리해줌
```
## 에러 핸들링을 위해 참고한 레퍼런스 링크
[링크1-AWS공식사이트](https://docs.aws.amazon.com/ko_kr/codedeploy/latest/userguide/troubleshooting-deployments.html)
[링크2-벨로그 블로그](https://velog.io/@jungjaedev/AWS-CodeDeploy-Fail-Message-The-deployment-failed-because-a-specified-file-already-exists-at-this-location)
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.