nest-redis bug

nest-redis bug

刘老板

刘老板

2024年5月13日 08:31

问题

[Nest] 2697522 - 07/09/2021, 12:43:37 AM ERROR [ExceptionHandler] Nest can't resolve dependencies of the RedisCoreModule (Symbol(REDIS_MODULE_OPTIONS), ?). Please make sure that the argument ModuleRef at index [1] is available in the RedisCoreModule context.

Potential solutions:

  • If ModuleRef is a provider, is it part of the current RedisCoreModule?
  • If ModuleRef is exported from a separate @module, is that module imported within RedisCoreModule?
    @module({
    imports: [ /* the Module containing ModuleRef */ ]
    })

无语死了

解决方法

咱们俩博客

咱们俩博客

https://github.com/skunight/nestjs-redis/pull/85

https://github.com/skunight/nestjs-redis/issues/82

标签:
bug
redis
THE END
点赞(0)
收藏
评论(0)
分享