inflearn logo
Course

Course

Instructor

kimssun's Posts

kimssun kimssun

@kimssun

Reviews Written
11
Average Rating
4.9

Posts 8

Q&A

ormconfig.ts 에러 질문입니다.

아.. 알겠습니다! 그럼 일단 ㅠㅠ 이부분제외하고 exceptionfilter 와 validation / passport까지 하고있겠습니다

Likes
0
Comments
2
Viewcount
489

Q&A

seed 생성 에러

Error: Nest can't resolve dependencies of the ShopsService (ShopsRepository, ?). Please make sure that the argument UsersRepository at index [1] is available in the ShopsModule context. Potential solutions: - If UsersRepository is a provider, is it part of the current ShopsModule? - If UsersRepository is exported from a separate @Module, is that module imported within ShopsModule? @Module({ imports: [ /* the Module containing UsersRepository */ ] }) 제로초님 이부분이 왜 에러가 나는것일까요..? 강의들으면서 궁금했습니다.. import { Module } from '@nestjs/common' ; import { TypeOrmModule } from '@nestjs/typeorm' ; import { Shops } from 'src/entities/shops.entity' ; import { ShopsController } from './shops.controller' ; import { ShopsService } from './shops.service' ; @ Module ({ imports : [ TypeOrmModule . forFeature ([ Shops ])], controllers : [ ShopsController ], providers : [ ShopsService ], }) export class ShopsModule {}

Likes
0
Comments
4
Viewcount
798

Q&A

seed 생성 에러

제로초님 혹시 npm i typeorm-seeding 현재 이 명령어가 먹히질 않아서 그러는데 버전이 업데이트된것일까요 ?

Likes
0
Comments
4
Viewcount
798