theon2.log
로그인
theon2.log
로그인
TypeError [ERR_INVALID_ARG_TYPE]: The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received type number (1234)
dowon kim
·
2022년 2월 10일
팔로우
0
Node
debug
0
해당 오류는 mysql2 의 config.json에 문자열 대신 다른게 들어가서 생기는 오류이다.
string이 들어가야하는 password 부분을
다음과 같이 바꿔주면 해결
dowon kim
The pain is so persistent that it is like a snail, and the joy is so short that it is like a rabbit's tail running through the fields of autumn
팔로우
이전 포스트
Unable to resolve path to module 'faker'.(import/no-unresolved)
다음 포스트
git을 배우는 과정에서 문제발생 및 해결
0개의 댓글
댓글 작성