Skip to content

Cannot find module '@tsed/components-scan' error when using supertest #2197

Answered by Romakita
LefanTan asked this question in Q&A
Discussion options

You must be logged in to vote

Hello @LefanTan

Just install @tsed/components-scan dependency. in v7 this dependency is not installed intentionnaly, and I recommend to not use it!

PlatformTest lazyload this module if you use globpattern to import controllers and services.

See you,
Romain

Replies: 1 comment 10 replies

Comment options

You must be logged in to vote
10 replies
@Romakita
Comment options

@LefanTan
Comment options

@Romakita
Comment options

@Romakita
Comment options

@LefanTan
Comment options

Answer selected by LefanTan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants