Open ddubbu opened 3 years ago
created_At, updated_At 생성이 안됨.
git clone 이후에 이러한 에러가 떴습니다. node 버전이 문제라고 하는데 찾아보겠습니다
node index.js 를 실행했더니 에러 발생
node:internal/fs/utils:636 throw new ERR_INVALID_ARG_TYPE(propName, ['string', 'Buffer', 'URL'], path); ^
TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string or an instance of Buffer or URL. Received undefined
at Object.openSync (node:fs:484:10)
at Object.readFileSync (node:fs:393:35)
at Object.
index.js 에서 https 관련 부분을 모두 지우고 해서 에러는 해결했습니다.
geteton.ga로 접속했을 때 502 Bad Gateway가 뜹니다. test 폴더와 다른 점을 체크 중입니다.
원인은 로드밸런서
포트 4000 추가해주면 된다.
RDS에서 sequelizer 쓰려고 할 때, DB 부분은 기존 db 있으면 드랍하고 새로 만든다. 그러면 createdAt, updatedAt 칼럼까지 반영되어 있다.
Task Card
Assignee: @ddubbu
Job Description
advanced