-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patherror.log
10 lines (10 loc) · 2.22 KB
/
error.log
1
2
3
4
5
6
7
8
9
10
{"level":"error","message":"Error: Invalid password!!\n at C:\\E-learning\\Controllers\\userController.js:114:11"}
{"level":"error","message":"Error: Invalid password!!\n at C:\\E-learning\\Controllers\\userController.js:114:11"}
{"level":"error","message":"Error: Invalid password!!\n at C:\\E-learning\\Controllers\\userController.js:114:11"}
{"level":"error","message":"Error: Invalid password!!\n at C:\\E-learning\\Controllers\\userController.js:114:11"}
{"level":"error","message":"Error: Invalid password!!\n at C:\\E-learning\\Controllers\\userController.js:114:11"}
{"level":"error","message":"Error: Invalid password!!\n at C:\\E-learning\\Controllers\\userController.js:118:11"}
{"level":"error","message":"PrismaClientValidationError: \nInvalid `prisma.course.findMany()` invocation in\nC:\\E-learning\\Controllers\\courseController.js:51:42\n\n 48 orderBy.popularity = \"asc\";\n 49 }\n 50 \n→ 51 const allCourses = await prisma.course.findMany({\n skip: 0,\n take: 5,\n where: {\n categoryId: 1,\n level: \"BEGINER\"\n ~~~~~~~~~\n },\n orderBy: {\n popularity: \"desc\"\n },\n include: {\n category: true\n }\n })\n\nInvalid value for argument `level`. Expected Level.\n at Tn (C:\\E-learning\\node_modules\\@prisma\\client\\runtime\\library.js:115:5888)\n at In.handleRequestError (C:\\E-learning\\node_modules\\@prisma\\client\\runtime\\library.js:122:6510)\n at In.handleAndLogRequestError (C:\\E-learning\\node_modules\\@prisma\\client\\runtime\\library.js:122:6188)\n at In.request (C:\\E-learning\\node_modules\\@prisma\\client\\runtime\\library.js:122:5896)\n at async l (C:\\E-learning\\node_modules\\@prisma\\client\\runtime\\library.js:127:11167)\n at async C:\\E-learning\\Controllers\\courseController.js:51:22"}
{"level":"error","message":"ReferenceError: level is not defined\n at C:\\E-learning\\Controllers\\courseController.js:35:37"}
{"level":"error","message":"ReferenceError: level is not defined\n at C:\\E-learning\\Controllers\\courseController.js:35:37"}
{"level":"error","message":"ReferenceError: level is not defined\n at C:\\E-learning\\Controllers\\courseController.js:35:37"}