You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Nest can't resolve dependencies of the RedisLockService (?, REDIS_LOCK_OPTIONS). Please make sure that the argument RedisService at index [0] is available in the RedisLockModule context.
Potential solutions:
If RedisService is a provider, is it part of the current RedisLockModule?
If RedisService is exported from a separate @module, is that module imported within RedisLockModule? @module({
imports: [ /* the Module containing RedisService */ ]
})
[Nest] 42092 - 02/23/2022, 1:38:52 PM ERROR [ExceptionHandler] Nest can't resolve dependencies of the RedisLockService (?). Please make sure that the argument REDIS_LOCK_OPTIONS at index [0] is available in the TaskModule context.Potential solutions:- If REDIS_LOCK_OPTIONS is a provider, is it part of the current TaskModule?- If REDIS_LOCK_OPTIONS is exported from a separate @Module, is that module imported within TaskModule? @Module({ imports: [ /* the Module containing REDIS_LOCK_OPTIONS */ ] })Error: Nest can't resolve dependencies of the RedisLockService (?). Please make sure that the argument REDIS_LOCK_OPTIONS at index [0] is available in the TaskModule context.
Potential solutions:
- If REDIS_LOCK_OPTIONS is a provider, is it part of the current TaskModule?
- If REDIS_LOCK_OPTIONS is exported from a separate @Module, is that module imported within TaskModule?
@Module({
imports: [ /* the Module containing REDIS_LOCK_OPTIONS */ ]
})
Nest can't resolve dependencies of the RedisLockService (?, REDIS_LOCK_OPTIONS). Please make sure that the argument RedisService at index [0] is available in the RedisLockModule context.
Potential solutions:
If RedisService is a provider, is it part of the current RedisLockModule?
If RedisService is exported from a separate @module, is that module imported within RedisLockModule?
@module({
imports: [ /* the Module containing RedisService */ ]
})
"nestjs-simple-redis-lock": "^0.2.1",
"@huangang/nestjs-simple-redis-lock": "^0.5.0",
tried both importing the redisLockService from @huangang and from nestjs-simple-redis-lock.
The text was updated successfully, but these errors were encountered: