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 TokenEntityModel (?). Please make sure that the argument f at index [0] is available in the ExpressCassandraModule context.
Potential solutions:
- If f is a provider, is it part of the current ExpressCassandraModule?
- If f is exported from a separate @Module, is that module imported within ExpressCassandraModule?
@Module({
imports: [ /* the Module containing f */ ]
})
+21ms
Error: Nest can't resolve dependencies of the TokenEntityModel (?). Please make sure that the argument f at index [0] is available in the ExpressCassandraModule context.
Potential solutions:
- If f is a provider, is it part of the current ExpressCassandraModule?
- If f is exported from a separate @Module, is that module imported within ExpressCassandraModule?
@Module({
imports: [ /* the Module containing f */ ]
})
at Injector.lookupComponentInExports (/home/user/ss/token-service/node_modules/@nestjs/core/injector/injector.js:183:19)
at process._tickCallback (internal/process/next_tick.js:68:7)
at Function.Module.runMain (internal/modules/cjs/loader.js:834:11)
at Object. (/home/user/ss/token-service/node_modules/ts-node/src/bin.ts:154:12)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Function.Module.runMain (internal/modules/cjs/loader.js:831:12)
at startup (internal/bootstrap/node.js:283:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:622:3)
Reproduction of the problem with instructions
My code identical with that tutorial and i used it for microservice:
I'm submitting a...
Current behavior
I used this tutorial: https://github.com/ifaim/nestjs-express-cassandra#using-repository, and get an error.
Reproduction of the problem with instructions
My code identical with that tutorial and i used it for microservice:
Environment
The text was updated successfully, but these errors were encountered: