질문&답변
상품카테고리 API 실행 후, respository.save() 오류
TypeOrmModule.forRoot({ type: 'mysql', entities: [__dirname + '/APIs/**/*.entity.*'], // *.entity.js 모두 자동등록되도록 synchronize: true, logging: true, }), 해결했습니다 ^^;; entities 파일경로에서 대소문자를 실제와 다르게 입력했어서 오류가 있었나봐요. /Apis => /APIs (실제 디렉토리명으로 변경) 대소문자 맞춰서 변경하니 제대로 작동합니다!
- 좋아요수
- 1
- 댓글수
- 1
- 조회수
- 461





