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)
theon2
·
2022년 2월 10일
0
Node
debug
0
해당 오류는 mysql2 의 config.json에 문자열 대신 다른게 들어가서 생기는 오류이다.
string이 들어가야하는 password 부분을
다음과 같이 바꿔주면 해결
dowon kim
어제보다 나은 개발자가 되기 위해 노력합니다
이전 포스트
Unable to resolve path to module 'faker'.(import/no-unresolved)
다음 포스트
git을 배우는 과정에서 문제발생 및 해결
0개의 댓글
댓글 작성