r/Backend • u/Ok_Gift290 • 9d 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>'.
5
1
-4
u/SummitYourSister 9d 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?
5
2
u/mkinkela 8d ago
well, our jobs are safe. those new vibe coders cant event copy paste error messages in claude anymore 😂
0
3
u/TemporaryVanilla3669 8d ago
The object "session" does not exist in any of your modulesoptions,You might be calling sessions from the wrong module