codestates / codestates/ThereWeather

[Error Handling] 데이터베이스 config 비밀번호 에러

Open
#58 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

## 어떤 에러인가요?
- 시퀄라이즈를 이용해서 데이터베이스 구축 및 마이그레이션할 때 config 파일에 비밀번호를 문자열로 설정하지 않아서 생긴 오류

## 에러 메시지
```jsx
Loaded configuration file "config/config.json".
Using environment "development".
internal/crypto/hash.js:84
throw new ERR_INVALID_ARG_TYPE(
^
```

## 에러 핸들링 방법
```jsx
server/config.json 파일에서 데이터베이스 비밀번호를 문자열로 변경함
```

## 에러 핸들링을 위해 참고한 레퍼런스 링크
[예시1](https://www.jungyin.com/155)

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.