nmitydv / TO_DO_LIST

MIT License
0 stars 1 forks source link

nestjs/passport #35

Open Material-X opened 11 months ago

Material-X commented 11 months ago

I get the error below when I try to start up the server, anyone have an idea what might cause it? This was after I have installed it via CLI

TypeError: Class extends value undefined is not a constructor or null at PassportStrategy (C:\Projects\Official work\NestJS - APIs - Copy\access-point-apis\node_modules\@nestjs\passport\dist\passport\passport.strategy.js:15:33) at Object. (C:\Projects\Official work\NestJS - APIs - Copy\access-point-apis\src\auth\azure-ad.strategy.ts:8:54) at Module._compile (node:internal/modules/cjs/loader:1254:14) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1308:10) at Module.load (node:internal/modules/cjs/loader:1117:32) at Function.Module._load (node:internal/modules/cjs/loader:958:12) at Module.require (node:internal/modules/cjs/loader:1141:19) at require (node:internal/modules/cjs/helpers:110:18) at Object. (C:\Projects\Official work\NestJS - APIs - Copy\access-point-apis\src\auth\auth.module.ts:3:1) at Module._compile (node:internal/modules/cjs/loader:1254:14)

Pratham271 commented 10 months ago

Can you provide the code and some more context