应用程序在启动时立即停止,其他模块尚未检查,因此不太可能出现错误。{} Nest can't resolve dependencies of the AuthenticationService (?).Potential solutions:
- If dependency is a provider, is it part of the current AuthModule?- If dependency is exported from a separate @Module, is that module impor
我的Nest应用程序在运行时抛出以下错误 Nest can't resolve dependencies of the UserService (?, UserProfileModel).Please make sure that the argument at index [0] is available in the AuthModule context.对于这个问题,我找到的唯一答案是将TypeOrmModule.forFeature([UserModel])添加到模块导入中。然而,我不认为这是相关的,因为mongoose已
,它会返回UserModule和AuthModule之间循环依赖的错误 imports:[ PassportModule错误:
[ExceptionHandler] Nest cannot create the AuthModule instance.The module at index [0] of the AuthModule "imports" array is undefined.),这实际上消
当我嵌套启动代码时,它会出现以下错误,问题是什么?如果我错过任何密码,请告诉我,我可以在这里张贴。The module at index [2] of the AuthModule "imports" array is undefined.AppController],export class AppModule {}如果我添加</