r/Backend • u/Ok_Gift290 • 7d ago
Error I don't understand
It's my first time using nest js, I'm currently just following the documentation verbatim to build jwt authentication, then in my app.module.ts this popped up, I'm tryna refrain from running to claude or chat immediately for an answer, help please
src/app.module.ts:22:7 - error TS2353: Object literal may only specify known properties, and 'session' does not exist in type 'ConfigurableModuleAsyncOptions<AuthenticationModuleOptions, "createAuthenticationOptions"> & Partial<AuthenticationModuleExtras>'.
0
Upvotes
3
u/TemporaryVanilla3669 7d ago
The object "session" does not exist in any of your modulesoptions,You might be calling sessions from the wrong module
5
u/Lumethys 7d ago
The error literrally point to line 22 in
app.module.ts1
u/StephenHawkinguss 5d ago
Ask the damn AI
-4
u/SummitYourSister 7d ago
Nobody can help you with that. Why don’t you use your intelligence as a programmer and solve the problem?
You’re… you’re a programmer, right?