#NestJs Bug - Nest can't resolve dependencies of the AuthService

4 messages · Page 1 of 1 (latest)

frank granite
#

Hi I just create a GitHub repo https://github.com/todbapi/nest-js-test . This code give me Nest can't resolve dependencies of the AuthService. I spend a week to debug this. But found nothing. I think it's npm dependency error - which is out of my scope. Pls debug this code - Am I missing something?

GitHub

Contribute to todbapi/nest-js-test development by creating an account on GitHub.

stiff bramble
#

Can you provide the exact error?

frank granite
stiff bramble
#

You use a named connection for your database. You need to use @InjectModel(User, connectionName)