강의

멘토링

로드맵

Inflearn Community Q&A

stronghu956460's profile image
stronghu956460

asked

Slack Clone Coding [Backend with NestJS + TypeORM]

Hot reloading settings

Cannot find module ' ./app.module '

Written on

·

354

0

영상따라서 공식문서를 따라서 작성을 다하고
npm run start:dev 를 치고 nest 가 동작을 하면 바로 Cannot find module ' ./app.module ' 에러가 나옵니다 분면dist 폴더 밑에 app.module.js 파일 또한 위치해 있는데 말이죠... 재설치를 해봐야 할까요?

nodejsexpressTypeORMNestJS

Quiz

72% of people got it wrong. Give it a try!

NestJS 아키텍처의 핵심 구성 요소이며 애플리케이션의 구성 단위를 나타내는 것은 무엇인가요?

컨트롤러 (Controller)

서비스 (Service)

미들웨어 (Middleware)

모듈 (Module)

Answer 1

1

zerocho님의 프로필 이미지
zerocho
Instructor

저기서 가리키는 경로는 dist/src/app.module.js로 src 폴더가 중간에 끼어 있습니다.

이 구조를 참고하세요.

https://github.com/ZeroCho/sleact/tree/master/nest-typeorm

Cliche님의 프로필 이미지
Cliche
Questioner

넵 해결되었습니다 감사합니다!

stronghu956460's profile image
stronghu956460

asked

Ask a question