-
Notifications
You must be signed in to change notification settings - Fork 0
/
uncaughtExceptions.log
46 lines (46 loc) · 147 KB
/
uncaughtExceptions.log
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
{"date":"Fri Oct 15 2021 18:08:42 GMT+0100 (West Africa Standard Time)","error":{},"exception":true,"level":"error","message":"uncaughtException: Something failed miserably\nError: Something failed miserably\n at Object.<anonymous> (C:\\Notes\\app.js:27:26)\n at Module._compile (internal/modules/cjs/loader.js:1063:30)\n at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)\n at Module.load (internal/modules/cjs/loader.js:928:32)\n at Function.Module._load (internal/modules/cjs/loader.js:769:14)\n at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:72:12)\n at internal/main/run_main_module.js:17:47","os":{"loadavg":[0,0,0],"uptime":424769},"process":{"argv":["C:\\Program Files (x86)\\nodejs\\node.exe","C:\\Notes\\app.js"],"cwd":"C:\\Notes","execPath":"C:\\Program Files (x86)\\nodejs\\node.exe","gid":null,"memoryUsage":{"arrayBuffers":36606221,"external":38200576,"heapTotal":33394688,"heapUsed":22915372,"rss":59805696},"pid":5096,"uid":null,"version":"v14.15.5"},"stack":"Error: Something failed miserably\n at Object.<anonymous> (C:\\Notes\\app.js:27:26)\n at Module._compile (internal/modules/cjs/loader.js:1063:30)\n at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)\n at Module.load (internal/modules/cjs/loader.js:928:32)\n at Function.Module._load (internal/modules/cjs/loader.js:769:14)\n at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:72:12)\n at internal/main/run_main_module.js:17:47","trace":[{"column":26,"file":"C:\\Notes\\app.js","function":null,"line":27,"method":null,"native":false},{"column":30,"file":"internal/modules/cjs/loader.js","function":"Module._compile","line":1063,"method":"_compile","native":false},{"column":10,"file":"internal/modules/cjs/loader.js","function":"Module._extensions..js","line":1092,"method":".js","native":false},{"column":32,"file":"internal/modules/cjs/loader.js","function":"Module.load","line":928,"method":"load","native":false},{"column":14,"file":"internal/modules/cjs/loader.js","function":"Module._load","line":769,"method":"_load","native":false},{"column":12,"file":"internal/modules/run_main.js","function":"Function.executeUserEntryPoint [as runMain]","line":72,"method":"executeUserEntryPoint [as runMain]","native":false},{"column":47,"file":"internal/main/run_main_module.js","function":null,"line":17,"method":null,"native":false}]}
{"date":"Fri Oct 15 2021 18:09:23 GMT+0100 (West Africa Standard Time)","error":{},"exception":true,"level":"error","message":"uncaughtException: Something failed miserably\nError: Something failed miserably\n at Object.<anonymous> (C:\\Notes\\app.js:27:26)\n at Module._compile (internal/modules/cjs/loader.js:1063:30)\n at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)\n at Module.load (internal/modules/cjs/loader.js:928:32)\n at Function.Module._load (internal/modules/cjs/loader.js:769:14)\n at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:72:12)\n at internal/main/run_main_module.js:17:47","os":{"loadavg":[0,0,0],"uptime":424810},"process":{"argv":["C:\\Program Files (x86)\\nodejs\\node.exe","C:\\Notes\\app.js"],"cwd":"C:\\Notes","execPath":"C:\\Program Files (x86)\\nodejs\\node.exe","gid":null,"memoryUsage":{"arrayBuffers":36581378,"external":38175733,"heapTotal":33132544,"heapUsed":22940812,"rss":59547648},"pid":4128,"uid":null,"version":"v14.15.5"},"stack":"Error: Something failed miserably\n at Object.<anonymous> (C:\\Notes\\app.js:27:26)\n at Module._compile (internal/modules/cjs/loader.js:1063:30)\n at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)\n at Module.load (internal/modules/cjs/loader.js:928:32)\n at Function.Module._load (internal/modules/cjs/loader.js:769:14)\n at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:72:12)\n at internal/main/run_main_module.js:17:47","trace":[{"column":26,"file":"C:\\Notes\\app.js","function":null,"line":27,"method":null,"native":false},{"column":30,"file":"internal/modules/cjs/loader.js","function":"Module._compile","line":1063,"method":"_compile","native":false},{"column":10,"file":"internal/modules/cjs/loader.js","function":"Module._extensions..js","line":1092,"method":".js","native":false},{"column":32,"file":"internal/modules/cjs/loader.js","function":"Module.load","line":928,"method":"load","native":false},{"column":14,"file":"internal/modules/cjs/loader.js","function":"Module._load","line":769,"method":"_load","native":false},{"column":12,"file":"internal/modules/run_main.js","function":"Function.executeUserEntryPoint [as runMain]","line":72,"method":"executeUserEntryPoint [as runMain]","native":false},{"column":47,"file":"internal/main/run_main_module.js","function":null,"line":17,"method":null,"native":false}]}
{"date":"Fri Oct 15 2021 18:09:39 GMT+0100 (West Africa Standard Time)","error":{},"exception":true,"level":"error","message":"uncaughtException: Something failed miserably\nError: Something failed miserably\n at Object.<anonymous> (C:\\Notes\\app.js:27:26)\n at Module._compile (internal/modules/cjs/loader.js:1063:30)\n at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)\n at Module.load (internal/modules/cjs/loader.js:928:32)\n at Function.Module._load (internal/modules/cjs/loader.js:769:14)\n at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:72:12)\n at internal/main/run_main_module.js:17:47","os":{"loadavg":[0,0,0],"uptime":424826},"process":{"argv":["C:\\Program Files (x86)\\nodejs\\node.exe","C:\\Notes\\app.js"],"cwd":"C:\\Notes","execPath":"C:\\Program Files (x86)\\nodejs\\node.exe","gid":null,"memoryUsage":{"arrayBuffers":36606221,"external":38200576,"heapTotal":33394688,"heapUsed":22824160,"rss":59916288},"pid":3380,"uid":null,"version":"v14.15.5"},"stack":"Error: Something failed miserably\n at Object.<anonymous> (C:\\Notes\\app.js:27:26)\n at Module._compile (internal/modules/cjs/loader.js:1063:30)\n at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)\n at Module.load (internal/modules/cjs/loader.js:928:32)\n at Function.Module._load (internal/modules/cjs/loader.js:769:14)\n at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:72:12)\n at internal/main/run_main_module.js:17:47","trace":[{"column":26,"file":"C:\\Notes\\app.js","function":null,"line":27,"method":null,"native":false},{"column":30,"file":"internal/modules/cjs/loader.js","function":"Module._compile","line":1063,"method":"_compile","native":false},{"column":10,"file":"internal/modules/cjs/loader.js","function":"Module._extensions..js","line":1092,"method":".js","native":false},{"column":32,"file":"internal/modules/cjs/loader.js","function":"Module.load","line":928,"method":"load","native":false},{"column":14,"file":"internal/modules/cjs/loader.js","function":"Module._load","line":769,"method":"_load","native":false},{"column":12,"file":"internal/modules/run_main.js","function":"Function.executeUserEntryPoint [as runMain]","line":72,"method":"executeUserEntryPoint [as runMain]","native":false},{"column":47,"file":"internal/main/run_main_module.js","function":null,"line":17,"method":null,"native":false}]}
{"date":"Fri Oct 15 2021 18:12:00 GMT+0100 (West Africa Standard Time)","error":{},"exception":true,"level":"error","message":"uncaughtException: Something failed miserably\nError: Something failed miserably\n at Object.<anonymous> (C:\\Notes\\app.js:27:26)\n at Module._compile (internal/modules/cjs/loader.js:1063:30)\n at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)\n at Module.load (internal/modules/cjs/loader.js:928:32)\n at Function.Module._load (internal/modules/cjs/loader.js:769:14)\n at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:72:12)\n at internal/main/run_main_module.js:17:47","os":{"loadavg":[0,0,0],"uptime":424967},"process":{"argv":["C:\\Program Files (x86)\\nodejs\\node.exe","C:\\Notes\\app.js"],"cwd":"C:\\Notes","execPath":"C:\\Program Files (x86)\\nodejs\\node.exe","gid":null,"memoryUsage":{"arrayBuffers":36606221,"external":38200576,"heapTotal":33394688,"heapUsed":22825360,"rss":60125184},"pid":9536,"uid":null,"version":"v14.15.5"},"stack":"Error: Something failed miserably\n at Object.<anonymous> (C:\\Notes\\app.js:27:26)\n at Module._compile (internal/modules/cjs/loader.js:1063:30)\n at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)\n at Module.load (internal/modules/cjs/loader.js:928:32)\n at Function.Module._load (internal/modules/cjs/loader.js:769:14)\n at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:72:12)\n at internal/main/run_main_module.js:17:47","trace":[{"column":26,"file":"C:\\Notes\\app.js","function":null,"line":27,"method":null,"native":false},{"column":30,"file":"internal/modules/cjs/loader.js","function":"Module._compile","line":1063,"method":"_compile","native":false},{"column":10,"file":"internal/modules/cjs/loader.js","function":"Module._extensions..js","line":1092,"method":".js","native":false},{"column":32,"file":"internal/modules/cjs/loader.js","function":"Module.load","line":928,"method":"load","native":false},{"column":14,"file":"internal/modules/cjs/loader.js","function":"Module._load","line":769,"method":"_load","native":false},{"column":12,"file":"internal/modules/run_main.js","function":"Function.executeUserEntryPoint [as runMain]","line":72,"method":"executeUserEntryPoint [as runMain]","native":false},{"column":47,"file":"internal/main/run_main_module.js","function":null,"line":17,"method":null,"native":false}]}
{"date":"Fri Oct 15 2021 23:49:22 GMT+0100 (West Africa Standard Time)","error":{},"exception":true,"level":"error","message":"uncaughtException: Cannot create property 'Symbol(level)' on string 'server is running on port 3000.....'\nTypeError: Cannot create property 'Symbol(level)' on string 'server is running on port 3000.....'\n at DerivedLogger.log (C:\\Notes\\node_modules\\winston\\lib\\winston\\logger.js:208:20)\n at Object.winston.<computed> [as log] (C:\\Notes\\node_modules\\winston\\lib\\winston.js:111:68)\n at Server.<anonymous> (C:\\Notes\\app.js:13:17)\n at Object.onceWrapper (events.js:421:28)\n at Server.emit (events.js:315:20)\n at emitListeningNT (net.js:1352:10)\n at processTicksAndRejections (internal/process/task_queues.js:79:21)","os":{"loadavg":[0,0,0],"uptime":445209},"process":{"argv":["C:\\Program Files (x86)\\nodejs\\node.exe","C:\\Notes\\app.js"],"cwd":"C:\\Notes","execPath":"C:\\Program Files (x86)\\nodejs\\node.exe","gid":null,"memoryUsage":{"arrayBuffers":36386090,"external":37980445,"heapTotal":33918976,"heapUsed":21739496,"rss":60133376},"pid":7128,"uid":null,"version":"v14.15.5"},"stack":"TypeError: Cannot create property 'Symbol(level)' on string 'server is running on port 3000.....'\n at DerivedLogger.log (C:\\Notes\\node_modules\\winston\\lib\\winston\\logger.js:208:20)\n at Object.winston.<computed> [as log] (C:\\Notes\\node_modules\\winston\\lib\\winston.js:111:68)\n at Server.<anonymous> (C:\\Notes\\app.js:13:17)\n at Object.onceWrapper (events.js:421:28)\n at Server.emit (events.js:315:20)\n at emitListeningNT (net.js:1352:10)\n at processTicksAndRejections (internal/process/task_queues.js:79:21)","trace":[{"column":20,"file":"C:\\Notes\\node_modules\\winston\\lib\\winston\\logger.js","function":"DerivedLogger.log","line":208,"method":"log","native":false},{"column":68,"file":"C:\\Notes\\node_modules\\winston\\lib\\winston.js","function":"Object.winston.<computed> [as log]","line":111,"method":"<computed> [as log]","native":false},{"column":17,"file":"C:\\Notes\\app.js","function":null,"line":13,"method":null,"native":false},{"column":28,"file":"events.js","function":"Object.onceWrapper","line":421,"method":"onceWrapper","native":false},{"column":20,"file":"events.js","function":"Server.emit","line":315,"method":"emit","native":false},{"column":10,"file":"net.js","function":"emitListeningNT","line":1352,"method":null,"native":false},{"column":21,"file":"internal/process/task_queues.js","function":"processTicksAndRejections","line":79,"method":null,"native":false}]}
{"date":"Sat Oct 16 2021 00:01:06 GMT+0100 (West Africa Standard Time)","error":{},"exception":true,"level":"error","message":"uncaughtException: FATAL ERROR: jwtPrivateKey is not defined\nError: FATAL ERROR: jwtPrivateKey is not defined\n at module.exports (C:\\Notes\\startup\\config.js:5:15)\n at Object.<anonymous> (C:\\Notes\\app.js:9:28)\n at Module._compile (internal/modules/cjs/loader.js:1063:30)\n at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)\n at Module.load (internal/modules/cjs/loader.js:928:32)\n at Function.Module._load (internal/modules/cjs/loader.js:769:14)\n at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:72:12)\n at internal/main/run_main_module.js:17:47","os":{"loadavg":[0,0,0],"uptime":445912},"process":{"argv":["C:\\Program Files (x86)\\nodejs\\node.exe","C:\\Notes\\app.js"],"cwd":"C:\\Notes","execPath":"C:\\Program Files (x86)\\nodejs\\node.exe","gid":null,"memoryUsage":{"arrayBuffers":36401907,"external":37976979,"heapTotal":33656832,"heapUsed":21847236,"rss":60788736},"pid":1008,"uid":null,"version":"v14.15.5"},"stack":"Error: FATAL ERROR: jwtPrivateKey is not defined\n at module.exports (C:\\Notes\\startup\\config.js:5:15)\n at Object.<anonymous> (C:\\Notes\\app.js:9:28)\n at Module._compile (internal/modules/cjs/loader.js:1063:30)\n at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)\n at Module.load (internal/modules/cjs/loader.js:928:32)\n at Function.Module._load (internal/modules/cjs/loader.js:769:14)\n at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:72:12)\n at internal/main/run_main_module.js:17:47","trace":[{"column":15,"file":"C:\\Notes\\startup\\config.js","function":"module.exports","line":5,"method":"exports","native":false},{"column":28,"file":"C:\\Notes\\app.js","function":null,"line":9,"method":null,"native":false},{"column":30,"file":"internal/modules/cjs/loader.js","function":"Module._compile","line":1063,"method":"_compile","native":false},{"column":10,"file":"internal/modules/cjs/loader.js","function":"Module._extensions..js","line":1092,"method":".js","native":false},{"column":32,"file":"internal/modules/cjs/loader.js","function":"Module.load","line":928,"method":"load","native":false},{"column":14,"file":"internal/modules/cjs/loader.js","function":"Module._load","line":769,"method":"_load","native":false},{"column":12,"file":"internal/modules/run_main.js","function":"Function.executeUserEntryPoint [as runMain]","line":72,"method":"executeUserEntryPoint [as runMain]","native":false},{"column":47,"file":"internal/main/run_main_module.js","function":null,"line":17,"method":null,"native":false}]}
{"date":"Mon Aug 07 2023 10:36:55 GMT+0100 (West Africa Standard Time)","error":{},"exception":true,"level":"error","message":"uncaughtException: PasswordComplexity is not a constructor\nTypeError: PasswordComplexity is not a constructor\n at Object.<anonymous> (C:\\Note-app-Backend\\Model\\users.js:21:15)\n at Module._compile (node:internal/modules/cjs/loader:1159:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)\n at Module.load (node:internal/modules/cjs/loader:1037:32)\n at Module._load (node:internal/modules/cjs/loader:878:12)\n at Module.require (node:internal/modules/cjs/loader:1061:19)\n at require (node:internal/modules/cjs/helpers:103:18)\n at Object.<anonymous> (C:\\Note-app-Backend\\Routes\\auth.js:7:42)\n at Module._compile (node:internal/modules/cjs/loader:1159:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)","os":{"loadavg":[0,0,0],"uptime":152617},"process":{"argv":["C:\\Program Files\\nodejs\\node.exe","C:\\Note-app-Backend\\app.js"],"cwd":"C:\\Note-app-Backend","execPath":"C:\\Program Files\\nodejs\\node.exe","gid":null,"memoryUsage":{"arrayBuffers":18500774,"external":19412335,"heapTotal":59334656,"heapUsed":29231664,"rss":75730944},"pid":14228,"uid":null,"version":"v18.12.1"},"stack":"TypeError: PasswordComplexity is not a constructor\n at Object.<anonymous> (C:\\Note-app-Backend\\Model\\users.js:21:15)\n at Module._compile (node:internal/modules/cjs/loader:1159:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)\n at Module.load (node:internal/modules/cjs/loader:1037:32)\n at Module._load (node:internal/modules/cjs/loader:878:12)\n at Module.require (node:internal/modules/cjs/loader:1061:19)\n at require (node:internal/modules/cjs/helpers:103:18)\n at Object.<anonymous> (C:\\Note-app-Backend\\Routes\\auth.js:7:42)\n at Module._compile (node:internal/modules/cjs/loader:1159:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)","trace":[{"column":15,"file":"C:\\Note-app-Backend\\Model\\users.js","function":null,"line":21,"method":null,"native":false},{"column":14,"file":"node:internal/modules/cjs/loader","function":"Module._compile","line":1159,"method":"_compile","native":false},{"column":10,"file":"node:internal/modules/cjs/loader","function":"Module._extensions..js","line":1213,"method":".js","native":false},{"column":32,"file":"node:internal/modules/cjs/loader","function":"Module.load","line":1037,"method":"load","native":false},{"column":12,"file":"node:internal/modules/cjs/loader","function":"Module._load","line":878,"method":"_load","native":false},{"column":19,"file":"node:internal/modules/cjs/loader","function":"Module.require","line":1061,"method":"require","native":false},{"column":18,"file":"node:internal/modules/cjs/helpers","function":"require","line":103,"method":null,"native":false},{"column":42,"file":"C:\\Note-app-Backend\\Routes\\auth.js","function":null,"line":7,"method":null,"native":false},{"column":14,"file":"node:internal/modules/cjs/loader","function":"Module._compile","line":1159,"method":"_compile","native":false},{"column":10,"file":"node:internal/modules/cjs/loader","function":"Module._extensions..js","line":1213,"method":".js","native":false}]}
{"date":"Mon Aug 07 2023 10:38:58 GMT+0100 (West Africa Standard Time)","error":{},"exception":true,"level":"error","message":"uncaughtException: PasswordComplexity is not a constructor\nTypeError: PasswordComplexity is not a constructor\n at Object.<anonymous> (C:\\Note-app-Backend\\Model\\users.js:21:15)\n at Module._compile (node:internal/modules/cjs/loader:1159:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)\n at Module.load (node:internal/modules/cjs/loader:1037:32)\n at Module._load (node:internal/modules/cjs/loader:878:12)\n at Module.require (node:internal/modules/cjs/loader:1061:19)\n at require (node:internal/modules/cjs/helpers:103:18)\n at Object.<anonymous> (C:\\Note-app-Backend\\Routes\\auth.js:7:42)\n at Module._compile (node:internal/modules/cjs/loader:1159:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)","os":{"loadavg":[0,0,0],"uptime":152741},"process":{"argv":["C:\\Program Files\\nodejs\\node.exe","C:\\Note-app-Backend\\app.js"],"cwd":"C:\\Note-app-Backend","execPath":"C:\\Program Files\\nodejs\\node.exe","gid":null,"memoryUsage":{"arrayBuffers":18492582,"external":19404143,"heapTotal":59334656,"heapUsed":29204552,"rss":76673024},"pid":9264,"uid":null,"version":"v18.12.1"},"stack":"TypeError: PasswordComplexity is not a constructor\n at Object.<anonymous> (C:\\Note-app-Backend\\Model\\users.js:21:15)\n at Module._compile (node:internal/modules/cjs/loader:1159:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)\n at Module.load (node:internal/modules/cjs/loader:1037:32)\n at Module._load (node:internal/modules/cjs/loader:878:12)\n at Module.require (node:internal/modules/cjs/loader:1061:19)\n at require (node:internal/modules/cjs/helpers:103:18)\n at Object.<anonymous> (C:\\Note-app-Backend\\Routes\\auth.js:7:42)\n at Module._compile (node:internal/modules/cjs/loader:1159:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)","trace":[{"column":15,"file":"C:\\Note-app-Backend\\Model\\users.js","function":null,"line":21,"method":null,"native":false},{"column":14,"file":"node:internal/modules/cjs/loader","function":"Module._compile","line":1159,"method":"_compile","native":false},{"column":10,"file":"node:internal/modules/cjs/loader","function":"Module._extensions..js","line":1213,"method":".js","native":false},{"column":32,"file":"node:internal/modules/cjs/loader","function":"Module.load","line":1037,"method":"load","native":false},{"column":12,"file":"node:internal/modules/cjs/loader","function":"Module._load","line":878,"method":"_load","native":false},{"column":19,"file":"node:internal/modules/cjs/loader","function":"Module.require","line":1061,"method":"require","native":false},{"column":18,"file":"node:internal/modules/cjs/helpers","function":"require","line":103,"method":null,"native":false},{"column":42,"file":"C:\\Note-app-Backend\\Routes\\auth.js","function":null,"line":7,"method":null,"native":false},{"column":14,"file":"node:internal/modules/cjs/loader","function":"Module._compile","line":1159,"method":"_compile","native":false},{"column":10,"file":"node:internal/modules/cjs/loader","function":"Module._extensions..js","line":1213,"method":".js","native":false}]}
{"date":"Mon Aug 07 2023 10:39:38 GMT+0100 (West Africa Standard Time)","error":{},"exception":true,"level":"error","message":"uncaughtException: PasswordComplexity is not a constructor\nTypeError: PasswordComplexity is not a constructor\n at Object.<anonymous> (C:\\Note-app-Backend\\Model\\users.js:21:15)\n at Module._compile (node:internal/modules/cjs/loader:1159:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)\n at Module.load (node:internal/modules/cjs/loader:1037:32)\n at Module._load (node:internal/modules/cjs/loader:878:12)\n at Module.require (node:internal/modules/cjs/loader:1061:19)\n at require (node:internal/modules/cjs/helpers:103:18)\n at Object.<anonymous> (C:\\Note-app-Backend\\Routes\\auth.js:7:42)\n at Module._compile (node:internal/modules/cjs/loader:1159:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)","os":{"loadavg":[0,0,0],"uptime":152781},"process":{"argv":["C:\\Program Files\\nodejs\\node.exe","C:\\Note-app-Backend\\app.js"],"cwd":"C:\\Note-app-Backend","execPath":"C:\\Program Files\\nodejs\\node.exe","gid":null,"memoryUsage":{"arrayBuffers":18483951,"external":19395512,"heapTotal":59596800,"heapUsed":29460336,"rss":76431360},"pid":9276,"uid":null,"version":"v18.12.1"},"stack":"TypeError: PasswordComplexity is not a constructor\n at Object.<anonymous> (C:\\Note-app-Backend\\Model\\users.js:21:15)\n at Module._compile (node:internal/modules/cjs/loader:1159:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)\n at Module.load (node:internal/modules/cjs/loader:1037:32)\n at Module._load (node:internal/modules/cjs/loader:878:12)\n at Module.require (node:internal/modules/cjs/loader:1061:19)\n at require (node:internal/modules/cjs/helpers:103:18)\n at Object.<anonymous> (C:\\Note-app-Backend\\Routes\\auth.js:7:42)\n at Module._compile (node:internal/modules/cjs/loader:1159:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)","trace":[{"column":15,"file":"C:\\Note-app-Backend\\Model\\users.js","function":null,"line":21,"method":null,"native":false},{"column":14,"file":"node:internal/modules/cjs/loader","function":"Module._compile","line":1159,"method":"_compile","native":false},{"column":10,"file":"node:internal/modules/cjs/loader","function":"Module._extensions..js","line":1213,"method":".js","native":false},{"column":32,"file":"node:internal/modules/cjs/loader","function":"Module.load","line":1037,"method":"load","native":false},{"column":12,"file":"node:internal/modules/cjs/loader","function":"Module._load","line":878,"method":"_load","native":false},{"column":19,"file":"node:internal/modules/cjs/loader","function":"Module.require","line":1061,"method":"require","native":false},{"column":18,"file":"node:internal/modules/cjs/helpers","function":"require","line":103,"method":null,"native":false},{"column":42,"file":"C:\\Note-app-Backend\\Routes\\auth.js","function":null,"line":7,"method":null,"native":false},{"column":14,"file":"node:internal/modules/cjs/loader","function":"Module._compile","line":1159,"method":"_compile","native":false},{"column":10,"file":"node:internal/modules/cjs/loader","function":"Module._extensions..js","line":1213,"method":".js","native":false}]}
{"date":"Mon Aug 07 2023 10:41:15 GMT+0100 (West Africa Standard Time)","error":{},"exception":true,"level":"error","message":"uncaughtException: Unexpected token ')'\nC:\\Note-app-Backend\\middleware\\auth.js:9\n const decoded = jwt.verify(token, process.env.)\n ^\n\nSyntaxError: Unexpected token ')'\n at Object.compileFunction (node:vm:360:18)\n at wrapSafe (node:internal/modules/cjs/loader:1088:15)\n at Module._compile (node:internal/modules/cjs/loader:1123:27)\n at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)\n at Module.load (node:internal/modules/cjs/loader:1037:32)\n at Module._load (node:internal/modules/cjs/loader:878:12)\n at Module.require (node:internal/modules/cjs/loader:1061:19)\n at require (node:internal/modules/cjs/helpers:103:18)\n at Object.<anonymous> (C:\\Note-app-Backend\\Routes\\note.js:3:14)\n at Module._compile (node:internal/modules/cjs/loader:1159:14)","os":{"loadavg":[0,0,0],"uptime":152878},"process":{"argv":["C:\\Program Files\\nodejs\\node.exe","C:\\Note-app-Backend\\app.js"],"cwd":"C:\\Note-app-Backend","execPath":"C:\\Program Files\\nodejs\\node.exe","gid":null,"memoryUsage":{"arrayBuffers":125161,"external":856164,"heapTotal":18960384,"heapUsed":11826744,"rss":43847680},"pid":8336,"uid":null,"version":"v18.12.1"},"stack":"C:\\Note-app-Backend\\middleware\\auth.js:9\n const decoded = jwt.verify(token, process.env.)\n ^\n\nSyntaxError: Unexpected token ')'\n at Object.compileFunction (node:vm:360:18)\n at wrapSafe (node:internal/modules/cjs/loader:1088:15)\n at Module._compile (node:internal/modules/cjs/loader:1123:27)\n at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)\n at Module.load (node:internal/modules/cjs/loader:1037:32)\n at Module._load (node:internal/modules/cjs/loader:878:12)\n at Module.require (node:internal/modules/cjs/loader:1061:19)\n at require (node:internal/modules/cjs/helpers:103:18)\n at Object.<anonymous> (C:\\Note-app-Backend\\Routes\\note.js:3:14)\n at Module._compile (node:internal/modules/cjs/loader:1159:14)","trace":[{"column":18,"file":"node:vm","function":"Object.compileFunction","line":360,"method":"compileFunction","native":false},{"column":15,"file":"node:internal/modules/cjs/loader","function":"wrapSafe","line":1088,"method":null,"native":false},{"column":27,"file":"node:internal/modules/cjs/loader","function":"Module._compile","line":1123,"method":"_compile","native":false},{"column":10,"file":"node:internal/modules/cjs/loader","function":"Module._extensions..js","line":1213,"method":".js","native":false},{"column":32,"file":"node:internal/modules/cjs/loader","function":"Module.load","line":1037,"method":"load","native":false},{"column":12,"file":"node:internal/modules/cjs/loader","function":"Module._load","line":878,"method":"_load","native":false},{"column":19,"file":"node:internal/modules/cjs/loader","function":"Module.require","line":1061,"method":"require","native":false},{"column":18,"file":"node:internal/modules/cjs/helpers","function":"require","line":103,"method":null,"native":false},{"column":14,"file":"C:\\Note-app-Backend\\Routes\\note.js","function":null,"line":3,"method":null,"native":false},{"column":14,"file":"node:internal/modules/cjs/loader","function":"Module._compile","line":1159,"method":"_compile","native":false}]}
{"date":"Mon Aug 07 2023 10:41:23 GMT+0100 (West Africa Standard Time)","error":{},"exception":true,"level":"error","message":"uncaughtException: PasswordComplexity is not a constructor\nTypeError: PasswordComplexity is not a constructor\n at Object.<anonymous> (C:\\Note-app-Backend\\Model\\users.js:21:15)\n at Module._compile (node:internal/modules/cjs/loader:1159:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)\n at Module.load (node:internal/modules/cjs/loader:1037:32)\n at Module._load (node:internal/modules/cjs/loader:878:12)\n at Module.require (node:internal/modules/cjs/loader:1061:19)\n at require (node:internal/modules/cjs/helpers:103:18)\n at Object.<anonymous> (C:\\Note-app-Backend\\Routes\\auth.js:7:42)\n at Module._compile (node:internal/modules/cjs/loader:1159:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)","os":{"loadavg":[0,0,0],"uptime":152885},"process":{"argv":["C:\\Program Files\\nodejs\\node.exe","C:\\Note-app-Backend\\app.js"],"cwd":"C:\\Note-app-Backend","execPath":"C:\\Program Files\\nodejs\\node.exe","gid":null,"memoryUsage":{"arrayBuffers":18500774,"external":19412335,"heapTotal":59596800,"heapUsed":29305472,"rss":76881920},"pid":8940,"uid":null,"version":"v18.12.1"},"stack":"TypeError: PasswordComplexity is not a constructor\n at Object.<anonymous> (C:\\Note-app-Backend\\Model\\users.js:21:15)\n at Module._compile (node:internal/modules/cjs/loader:1159:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)\n at Module.load (node:internal/modules/cjs/loader:1037:32)\n at Module._load (node:internal/modules/cjs/loader:878:12)\n at Module.require (node:internal/modules/cjs/loader:1061:19)\n at require (node:internal/modules/cjs/helpers:103:18)\n at Object.<anonymous> (C:\\Note-app-Backend\\Routes\\auth.js:7:42)\n at Module._compile (node:internal/modules/cjs/loader:1159:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)","trace":[{"column":15,"file":"C:\\Note-app-Backend\\Model\\users.js","function":null,"line":21,"method":null,"native":false},{"column":14,"file":"node:internal/modules/cjs/loader","function":"Module._compile","line":1159,"method":"_compile","native":false},{"column":10,"file":"node:internal/modules/cjs/loader","function":"Module._extensions..js","line":1213,"method":".js","native":false},{"column":32,"file":"node:internal/modules/cjs/loader","function":"Module.load","line":1037,"method":"load","native":false},{"column":12,"file":"node:internal/modules/cjs/loader","function":"Module._load","line":878,"method":"_load","native":false},{"column":19,"file":"node:internal/modules/cjs/loader","function":"Module.require","line":1061,"method":"require","native":false},{"column":18,"file":"node:internal/modules/cjs/helpers","function":"require","line":103,"method":null,"native":false},{"column":42,"file":"C:\\Note-app-Backend\\Routes\\auth.js","function":null,"line":7,"method":null,"native":false},{"column":14,"file":"node:internal/modules/cjs/loader","function":"Module._compile","line":1159,"method":"_compile","native":false},{"column":10,"file":"node:internal/modules/cjs/loader","function":"Module._extensions..js","line":1213,"method":".js","native":false}]}
{"date":"Mon Aug 07 2023 10:44:52 GMT+0100 (West Africa Standard Time)","error":{},"exception":true,"level":"error","message":"uncaughtException: PasswordComplexity is not a constructor\nTypeError: PasswordComplexity is not a constructor\n at Object.<anonymous> (C:\\Note-app-Backend\\Model\\users.js:21:16)\n at Module._compile (node:internal/modules/cjs/loader:1159:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)\n at Module.load (node:internal/modules/cjs/loader:1037:32)\n at Module._load (node:internal/modules/cjs/loader:878:12)\n at Module.require (node:internal/modules/cjs/loader:1061:19)\n at require (node:internal/modules/cjs/helpers:103:18)\n at Object.<anonymous> (C:\\Note-app-Backend\\Routes\\auth.js:7:42)\n at Module._compile (node:internal/modules/cjs/loader:1159:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)","os":{"loadavg":[0,0,0],"uptime":153094},"process":{"argv":["C:\\Program Files\\nodejs\\node.exe","C:\\Note-app-Backend\\app.js"],"cwd":"C:\\Note-app-Backend","execPath":"C:\\Program Files\\nodejs\\node.exe","gid":null,"memoryUsage":{"arrayBuffers":18478682,"external":19390243,"heapTotal":60121088,"heapUsed":29150264,"rss":76980224},"pid":13116,"uid":null,"version":"v18.12.1"},"stack":"TypeError: PasswordComplexity is not a constructor\n at Object.<anonymous> (C:\\Note-app-Backend\\Model\\users.js:21:16)\n at Module._compile (node:internal/modules/cjs/loader:1159:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)\n at Module.load (node:internal/modules/cjs/loader:1037:32)\n at Module._load (node:internal/modules/cjs/loader:878:12)\n at Module.require (node:internal/modules/cjs/loader:1061:19)\n at require (node:internal/modules/cjs/helpers:103:18)\n at Object.<anonymous> (C:\\Note-app-Backend\\Routes\\auth.js:7:42)\n at Module._compile (node:internal/modules/cjs/loader:1159:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)","trace":[{"column":16,"file":"C:\\Note-app-Backend\\Model\\users.js","function":null,"line":21,"method":null,"native":false},{"column":14,"file":"node:internal/modules/cjs/loader","function":"Module._compile","line":1159,"method":"_compile","native":false},{"column":10,"file":"node:internal/modules/cjs/loader","function":"Module._extensions..js","line":1213,"method":".js","native":false},{"column":32,"file":"node:internal/modules/cjs/loader","function":"Module.load","line":1037,"method":"load","native":false},{"column":12,"file":"node:internal/modules/cjs/loader","function":"Module._load","line":878,"method":"_load","native":false},{"column":19,"file":"node:internal/modules/cjs/loader","function":"Module.require","line":1061,"method":"require","native":false},{"column":18,"file":"node:internal/modules/cjs/helpers","function":"require","line":103,"method":null,"native":false},{"column":42,"file":"C:\\Note-app-Backend\\Routes\\auth.js","function":null,"line":7,"method":null,"native":false},{"column":14,"file":"node:internal/modules/cjs/loader","function":"Module._compile","line":1159,"method":"_compile","native":false},{"column":10,"file":"node:internal/modules/cjs/loader","function":"Module._extensions..js","line":1213,"method":".js","native":false}]}
{"date":"Mon Aug 07 2023 10:47:07 GMT+0100 (West Africa Standard Time)","error":{},"exception":true,"level":"error","message":"uncaughtException: Unexpected token '{'\nC:\\Note-app-Backend\\Routes\\auth.js:15\n if (!user) return res.status(400).json{\n ^\n\nSyntaxError: Unexpected token '{'\n at Object.compileFunction (node:vm:360:18)\n at wrapSafe (node:internal/modules/cjs/loader:1088:15)\n at Module._compile (node:internal/modules/cjs/loader:1123:27)\n at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)\n at Module.load (node:internal/modules/cjs/loader:1037:32)\n at Module._load (node:internal/modules/cjs/loader:878:12)\n at Module.require (node:internal/modules/cjs/loader:1061:19)\n at require (node:internal/modules/cjs/helpers:103:18)\n at Object.<anonymous> (C:\\Note-app-Backend\\startup\\routes.js:3:13)\n at Module._compile (node:internal/modules/cjs/loader:1159:14)","os":{"loadavg":[0,0,0],"uptime":153230},"process":{"argv":["C:\\Program Files\\nodejs\\node.exe","C:\\Note-app-Backend\\app.js"],"cwd":"C:\\Note-app-Backend","execPath":"C:\\Program Files\\nodejs\\node.exe","gid":null,"memoryUsage":{"arrayBuffers":18638741,"external":19550302,"heapTotal":39673856,"heapUsed":29562144,"rss":72957952},"pid":4868,"uid":null,"version":"v18.12.1"},"stack":"C:\\Note-app-Backend\\Routes\\auth.js:15\n if (!user) return res.status(400).json{\n ^\n\nSyntaxError: Unexpected token '{'\n at Object.compileFunction (node:vm:360:18)\n at wrapSafe (node:internal/modules/cjs/loader:1088:15)\n at Module._compile (node:internal/modules/cjs/loader:1123:27)\n at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)\n at Module.load (node:internal/modules/cjs/loader:1037:32)\n at Module._load (node:internal/modules/cjs/loader:878:12)\n at Module.require (node:internal/modules/cjs/loader:1061:19)\n at require (node:internal/modules/cjs/helpers:103:18)\n at Object.<anonymous> (C:\\Note-app-Backend\\startup\\routes.js:3:13)\n at Module._compile (node:internal/modules/cjs/loader:1159:14)","trace":[{"column":18,"file":"node:vm","function":"Object.compileFunction","line":360,"method":"compileFunction","native":false},{"column":15,"file":"node:internal/modules/cjs/loader","function":"wrapSafe","line":1088,"method":null,"native":false},{"column":27,"file":"node:internal/modules/cjs/loader","function":"Module._compile","line":1123,"method":"_compile","native":false},{"column":10,"file":"node:internal/modules/cjs/loader","function":"Module._extensions..js","line":1213,"method":".js","native":false},{"column":32,"file":"node:internal/modules/cjs/loader","function":"Module.load","line":1037,"method":"load","native":false},{"column":12,"file":"node:internal/modules/cjs/loader","function":"Module._load","line":878,"method":"_load","native":false},{"column":19,"file":"node:internal/modules/cjs/loader","function":"Module.require","line":1061,"method":"require","native":false},{"column":18,"file":"node:internal/modules/cjs/helpers","function":"require","line":103,"method":null,"native":false},{"column":13,"file":"C:\\Note-app-Backend\\startup\\routes.js","function":null,"line":3,"method":null,"native":false},{"column":14,"file":"node:internal/modules/cjs/loader","function":"Module._compile","line":1159,"method":"_compile","native":false}]}
{"date":"Mon Aug 07 2023 10:47:12 GMT+0100 (West Africa Standard Time)","error":{},"exception":true,"level":"error","message":"uncaughtException: missing ) after argument list\nC:\\Note-app-Backend\\Routes\\auth.js:15\n if (!user) return res.status(400).json}\n ^\n\nSyntaxError: missing ) after argument list\n at Object.compileFunction (node:vm:360:18)\n at wrapSafe (node:internal/modules/cjs/loader:1088:15)\n at Module._compile (node:internal/modules/cjs/loader:1123:27)\n at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)\n at Module.load (node:internal/modules/cjs/loader:1037:32)\n at Module._load (node:internal/modules/cjs/loader:878:12)\n at Module.require (node:internal/modules/cjs/loader:1061:19)\n at require (node:internal/modules/cjs/helpers:103:18)\n at Object.<anonymous> (C:\\Note-app-Backend\\startup\\routes.js:3:13)\n at Module._compile (node:internal/modules/cjs/loader:1159:14)","os":{"loadavg":[0,0,0],"uptime":153234},"process":{"argv":["C:\\Program Files\\nodejs\\node.exe","C:\\Note-app-Backend\\app.js"],"cwd":"C:\\Note-app-Backend","execPath":"C:\\Program Files\\nodejs\\node.exe","gid":null,"memoryUsage":{"arrayBuffers":18668310,"external":19579871,"heapTotal":39936000,"heapUsed":29677464,"rss":72978432},"pid":5872,"uid":null,"version":"v18.12.1"},"stack":"C:\\Note-app-Backend\\Routes\\auth.js:15\n if (!user) return res.status(400).json}\n ^\n\nSyntaxError: missing ) after argument list\n at Object.compileFunction (node:vm:360:18)\n at wrapSafe (node:internal/modules/cjs/loader:1088:15)\n at Module._compile (node:internal/modules/cjs/loader:1123:27)\n at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)\n at Module.load (node:internal/modules/cjs/loader:1037:32)\n at Module._load (node:internal/modules/cjs/loader:878:12)\n at Module.require (node:internal/modules/cjs/loader:1061:19)\n at require (node:internal/modules/cjs/helpers:103:18)\n at Object.<anonymous> (C:\\Note-app-Backend\\startup\\routes.js:3:13)\n at Module._compile (node:internal/modules/cjs/loader:1159:14)","trace":[{"column":18,"file":"node:vm","function":"Object.compileFunction","line":360,"method":"compileFunction","native":false},{"column":15,"file":"node:internal/modules/cjs/loader","function":"wrapSafe","line":1088,"method":null,"native":false},{"column":27,"file":"node:internal/modules/cjs/loader","function":"Module._compile","line":1123,"method":"_compile","native":false},{"column":10,"file":"node:internal/modules/cjs/loader","function":"Module._extensions..js","line":1213,"method":".js","native":false},{"column":32,"file":"node:internal/modules/cjs/loader","function":"Module.load","line":1037,"method":"load","native":false},{"column":12,"file":"node:internal/modules/cjs/loader","function":"Module._load","line":878,"method":"_load","native":false},{"column":19,"file":"node:internal/modules/cjs/loader","function":"Module.require","line":1061,"method":"require","native":false},{"column":18,"file":"node:internal/modules/cjs/helpers","function":"require","line":103,"method":null,"native":false},{"column":13,"file":"C:\\Note-app-Backend\\startup\\routes.js","function":null,"line":3,"method":null,"native":false},{"column":14,"file":"node:internal/modules/cjs/loader","function":"Module._compile","line":1159,"method":"_compile","native":false}]}
{"date":"Mon Aug 07 2023 10:48:34 GMT+0100 (West Africa Standard Time)","error":{},"exception":true,"level":"error","message":"uncaughtException: PasswordComplexity is not a constructor\nTypeError: PasswordComplexity is not a constructor\n at Object.<anonymous> (C:\\Note-app-Backend\\Model\\users.js:21:16)\n at Module._compile (node:internal/modules/cjs/loader:1159:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)\n at Module.load (node:internal/modules/cjs/loader:1037:32)\n at Module._load (node:internal/modules/cjs/loader:878:12)\n at Module.require (node:internal/modules/cjs/loader:1061:19)\n at require (node:internal/modules/cjs/helpers:103:18)\n at Object.<anonymous> (C:\\Note-app-Backend\\Routes\\auth.js:7:42)\n at Module._compile (node:internal/modules/cjs/loader:1159:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)","os":{"loadavg":[0,0,0],"uptime":153316},"process":{"argv":["C:\\Program Files\\nodejs\\node.exe","C:\\Note-app-Backend\\app.js"],"cwd":"C:\\Note-app-Backend","execPath":"C:\\Program Files\\nodejs\\node.exe","gid":null,"memoryUsage":{"arrayBuffers":18470051,"external":19381612,"heapTotal":59334656,"heapUsed":29194672,"rss":76783616},"pid":3932,"uid":null,"version":"v18.12.1"},"stack":"TypeError: PasswordComplexity is not a constructor\n at Object.<anonymous> (C:\\Note-app-Backend\\Model\\users.js:21:16)\n at Module._compile (node:internal/modules/cjs/loader:1159:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)\n at Module.load (node:internal/modules/cjs/loader:1037:32)\n at Module._load (node:internal/modules/cjs/loader:878:12)\n at Module.require (node:internal/modules/cjs/loader:1061:19)\n at require (node:internal/modules/cjs/helpers:103:18)\n at Object.<anonymous> (C:\\Note-app-Backend\\Routes\\auth.js:7:42)\n at Module._compile (node:internal/modules/cjs/loader:1159:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)","trace":[{"column":16,"file":"C:\\Note-app-Backend\\Model\\users.js","function":null,"line":21,"method":null,"native":false},{"column":14,"file":"node:internal/modules/cjs/loader","function":"Module._compile","line":1159,"method":"_compile","native":false},{"column":10,"file":"node:internal/modules/cjs/loader","function":"Module._extensions..js","line":1213,"method":".js","native":false},{"column":32,"file":"node:internal/modules/cjs/loader","function":"Module.load","line":1037,"method":"load","native":false},{"column":12,"file":"node:internal/modules/cjs/loader","function":"Module._load","line":878,"method":"_load","native":false},{"column":19,"file":"node:internal/modules/cjs/loader","function":"Module.require","line":1061,"method":"require","native":false},{"column":18,"file":"node:internal/modules/cjs/helpers","function":"require","line":103,"method":null,"native":false},{"column":42,"file":"C:\\Note-app-Backend\\Routes\\auth.js","function":null,"line":7,"method":null,"native":false},{"column":14,"file":"node:internal/modules/cjs/loader","function":"Module._compile","line":1159,"method":"_compile","native":false},{"column":10,"file":"node:internal/modules/cjs/loader","function":"Module._extensions..js","line":1213,"method":".js","native":false}]}
{"date":"Mon Aug 07 2023 10:53:37 GMT+0100 (West Africa Standard Time)","error":{},"exception":true,"level":"error","message":"uncaughtException: PasswordComplexity is not a constructor\nTypeError: PasswordComplexity is not a constructor\n at Object.<anonymous> (C:\\Note-app-Backend\\Model\\users.js:21:16)\n at Module._compile (node:internal/modules/cjs/loader:1159:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)\n at Module.load (node:internal/modules/cjs/loader:1037:32)\n at Module._load (node:internal/modules/cjs/loader:878:12)\n at Module.require (node:internal/modules/cjs/loader:1061:19)\n at require (node:internal/modules/cjs/helpers:103:18)\n at Object.<anonymous> (C:\\Note-app-Backend\\Routes\\auth.js:7:42)\n at Module._compile (node:internal/modules/cjs/loader:1159:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)","os":{"loadavg":[0,0,0],"uptime":153619},"process":{"argv":["C:\\Program Files\\nodejs\\node.exe","C:\\Note-app-Backend\\app.js"],"cwd":"C:\\Note-app-Backend","execPath":"C:\\Program Files\\nodejs\\node.exe","gid":null,"memoryUsage":{"arrayBuffers":18478682,"external":19390243,"heapTotal":59334656,"heapUsed":29209328,"rss":76742656},"pid":10572,"uid":null,"version":"v18.12.1"},"stack":"TypeError: PasswordComplexity is not a constructor\n at Object.<anonymous> (C:\\Note-app-Backend\\Model\\users.js:21:16)\n at Module._compile (node:internal/modules/cjs/loader:1159:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)\n at Module.load (node:internal/modules/cjs/loader:1037:32)\n at Module._load (node:internal/modules/cjs/loader:878:12)\n at Module.require (node:internal/modules/cjs/loader:1061:19)\n at require (node:internal/modules/cjs/helpers:103:18)\n at Object.<anonymous> (C:\\Note-app-Backend\\Routes\\auth.js:7:42)\n at Module._compile (node:internal/modules/cjs/loader:1159:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)","trace":[{"column":16,"file":"C:\\Note-app-Backend\\Model\\users.js","function":null,"line":21,"method":null,"native":false},{"column":14,"file":"node:internal/modules/cjs/loader","function":"Module._compile","line":1159,"method":"_compile","native":false},{"column":10,"file":"node:internal/modules/cjs/loader","function":"Module._extensions..js","line":1213,"method":".js","native":false},{"column":32,"file":"node:internal/modules/cjs/loader","function":"Module.load","line":1037,"method":"load","native":false},{"column":12,"file":"node:internal/modules/cjs/loader","function":"Module._load","line":878,"method":"_load","native":false},{"column":19,"file":"node:internal/modules/cjs/loader","function":"Module.require","line":1061,"method":"require","native":false},{"column":18,"file":"node:internal/modules/cjs/helpers","function":"require","line":103,"method":null,"native":false},{"column":42,"file":"C:\\Note-app-Backend\\Routes\\auth.js","function":null,"line":7,"method":null,"native":false},{"column":14,"file":"node:internal/modules/cjs/loader","function":"Module._compile","line":1159,"method":"_compile","native":false},{"column":10,"file":"node:internal/modules/cjs/loader","function":"Module._extensions..js","line":1213,"method":".js","native":false}]}
{"date":"Mon Aug 07 2023 10:53:44 GMT+0100 (West Africa Standard Time)","error":{},"exception":true,"level":"error","message":"uncaughtException: PasswordComplexity is not a constructor\nTypeError: PasswordComplexity is not a constructor\n at Object.<anonymous> (C:\\Note-app-Backend\\Model\\users.js:21:16)\n at Module._compile (node:internal/modules/cjs/loader:1159:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)\n at Module.load (node:internal/modules/cjs/loader:1037:32)\n at Module._load (node:internal/modules/cjs/loader:878:12)\n at Module.require (node:internal/modules/cjs/loader:1061:19)\n at require (node:internal/modules/cjs/helpers:103:18)\n at Object.<anonymous> (C:\\Note-app-Backend\\Routes\\auth.js:7:42)\n at Module._compile (node:internal/modules/cjs/loader:1159:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)","os":{"loadavg":[0,0,0],"uptime":153626},"process":{"argv":["C:\\Program Files\\nodejs\\node.exe","C:\\Note-app-Backend\\app.js"],"cwd":"C:\\Note-app-Backend","execPath":"C:\\Program Files\\nodejs\\node.exe","gid":null,"memoryUsage":{"arrayBuffers":18478682,"external":19390243,"heapTotal":59334656,"heapUsed":29139064,"rss":77193216},"pid":15316,"uid":null,"version":"v18.12.1"},"stack":"TypeError: PasswordComplexity is not a constructor\n at Object.<anonymous> (C:\\Note-app-Backend\\Model\\users.js:21:16)\n at Module._compile (node:internal/modules/cjs/loader:1159:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)\n at Module.load (node:internal/modules/cjs/loader:1037:32)\n at Module._load (node:internal/modules/cjs/loader:878:12)\n at Module.require (node:internal/modules/cjs/loader:1061:19)\n at require (node:internal/modules/cjs/helpers:103:18)\n at Object.<anonymous> (C:\\Note-app-Backend\\Routes\\auth.js:7:42)\n at Module._compile (node:internal/modules/cjs/loader:1159:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)","trace":[{"column":16,"file":"C:\\Note-app-Backend\\Model\\users.js","function":null,"line":21,"method":null,"native":false},{"column":14,"file":"node:internal/modules/cjs/loader","function":"Module._compile","line":1159,"method":"_compile","native":false},{"column":10,"file":"node:internal/modules/cjs/loader","function":"Module._extensions..js","line":1213,"method":".js","native":false},{"column":32,"file":"node:internal/modules/cjs/loader","function":"Module.load","line":1037,"method":"load","native":false},{"column":12,"file":"node:internal/modules/cjs/loader","function":"Module._load","line":878,"method":"_load","native":false},{"column":19,"file":"node:internal/modules/cjs/loader","function":"Module.require","line":1061,"method":"require","native":false},{"column":18,"file":"node:internal/modules/cjs/helpers","function":"require","line":103,"method":null,"native":false},{"column":42,"file":"C:\\Note-app-Backend\\Routes\\auth.js","function":null,"line":7,"method":null,"native":false},{"column":14,"file":"node:internal/modules/cjs/loader","function":"Module._compile","line":1159,"method":"_compile","native":false},{"column":10,"file":"node:internal/modules/cjs/loader","function":"Module._extensions..js","line":1213,"method":".js","native":false}]}
{"date":"Mon Aug 07 2023 10:53:46 GMT+0100 (West Africa Standard Time)","error":{},"exception":true,"level":"error","message":"uncaughtException: PasswordComplexity is not a constructor\nTypeError: PasswordComplexity is not a constructor\n at Object.<anonymous> (C:\\Note-app-Backend\\Model\\users.js:21:16)\n at Module._compile (node:internal/modules/cjs/loader:1159:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)\n at Module.load (node:internal/modules/cjs/loader:1037:32)\n at Module._load (node:internal/modules/cjs/loader:878:12)\n at Module.require (node:internal/modules/cjs/loader:1061:19)\n at require (node:internal/modules/cjs/helpers:103:18)\n at Object.<anonymous> (C:\\Note-app-Backend\\Routes\\auth.js:7:42)\n at Module._compile (node:internal/modules/cjs/loader:1159:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)","os":{"loadavg":[0,0,0],"uptime":153628},"process":{"argv":["C:\\Program Files\\nodejs\\node.exe","C:\\Note-app-Backend\\app.js"],"cwd":"C:\\Note-app-Backend","execPath":"C:\\Program Files\\nodejs\\node.exe","gid":null,"memoryUsage":{"arrayBuffers":18483951,"external":19395512,"heapTotal":59596800,"heapUsed":29397672,"rss":76640256},"pid":6776,"uid":null,"version":"v18.12.1"},"stack":"TypeError: PasswordComplexity is not a constructor\n at Object.<anonymous> (C:\\Note-app-Backend\\Model\\users.js:21:16)\n at Module._compile (node:internal/modules/cjs/loader:1159:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)\n at Module.load (node:internal/modules/cjs/loader:1037:32)\n at Module._load (node:internal/modules/cjs/loader:878:12)\n at Module.require (node:internal/modules/cjs/loader:1061:19)\n at require (node:internal/modules/cjs/helpers:103:18)\n at Object.<anonymous> (C:\\Note-app-Backend\\Routes\\auth.js:7:42)\n at Module._compile (node:internal/modules/cjs/loader:1159:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)","trace":[{"column":16,"file":"C:\\Note-app-Backend\\Model\\users.js","function":null,"line":21,"method":null,"native":false},{"column":14,"file":"node:internal/modules/cjs/loader","function":"Module._compile","line":1159,"method":"_compile","native":false},{"column":10,"file":"node:internal/modules/cjs/loader","function":"Module._extensions..js","line":1213,"method":".js","native":false},{"column":32,"file":"node:internal/modules/cjs/loader","function":"Module.load","line":1037,"method":"load","native":false},{"column":12,"file":"node:internal/modules/cjs/loader","function":"Module._load","line":878,"method":"_load","native":false},{"column":19,"file":"node:internal/modules/cjs/loader","function":"Module.require","line":1061,"method":"require","native":false},{"column":18,"file":"node:internal/modules/cjs/helpers","function":"require","line":103,"method":null,"native":false},{"column":42,"file":"C:\\Note-app-Backend\\Routes\\auth.js","function":null,"line":7,"method":null,"native":false},{"column":14,"file":"node:internal/modules/cjs/loader","function":"Module._compile","line":1159,"method":"_compile","native":false},{"column":10,"file":"node:internal/modules/cjs/loader","function":"Module._extensions..js","line":1213,"method":".js","native":false}]}
{"date":"Mon Aug 07 2023 10:56:50 GMT+0100 (West Africa Standard Time)","error":{},"exception":true,"level":"error","message":"uncaughtException: PasswordComplexity is not a constructor\nTypeError: PasswordComplexity is not a constructor\n at Object.<anonymous> (C:\\Note-app-Backend\\Model\\users.js:31:16)\n at Module._compile (node:internal/modules/cjs/loader:1159:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)\n at Module.load (node:internal/modules/cjs/loader:1037:32)\n at Module._load (node:internal/modules/cjs/loader:878:12)\n at Module.require (node:internal/modules/cjs/loader:1061:19)\n at require (node:internal/modules/cjs/helpers:103:18)\n at Object.<anonymous> (C:\\Note-app-Backend\\Routes\\auth.js:7:42)\n at Module._compile (node:internal/modules/cjs/loader:1159:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)","os":{"loadavg":[0,0,0],"uptime":153812},"process":{"argv":["C:\\Program Files\\nodejs\\node.exe","C:\\Note-app-Backend\\app.js"],"cwd":"C:\\Note-app-Backend","execPath":"C:\\Program Files\\nodejs\\node.exe","gid":null,"memoryUsage":{"arrayBuffers":18486874,"external":19398435,"heapTotal":59596800,"heapUsed":29261168,"rss":76718080},"pid":7568,"uid":null,"version":"v18.12.1"},"stack":"TypeError: PasswordComplexity is not a constructor\n at Object.<anonymous> (C:\\Note-app-Backend\\Model\\users.js:31:16)\n at Module._compile (node:internal/modules/cjs/loader:1159:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)\n at Module.load (node:internal/modules/cjs/loader:1037:32)\n at Module._load (node:internal/modules/cjs/loader:878:12)\n at Module.require (node:internal/modules/cjs/loader:1061:19)\n at require (node:internal/modules/cjs/helpers:103:18)\n at Object.<anonymous> (C:\\Note-app-Backend\\Routes\\auth.js:7:42)\n at Module._compile (node:internal/modules/cjs/loader:1159:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)","trace":[{"column":16,"file":"C:\\Note-app-Backend\\Model\\users.js","function":null,"line":31,"method":null,"native":false},{"column":14,"file":"node:internal/modules/cjs/loader","function":"Module._compile","line":1159,"method":"_compile","native":false},{"column":10,"file":"node:internal/modules/cjs/loader","function":"Module._extensions..js","line":1213,"method":".js","native":false},{"column":32,"file":"node:internal/modules/cjs/loader","function":"Module.load","line":1037,"method":"load","native":false},{"column":12,"file":"node:internal/modules/cjs/loader","function":"Module._load","line":878,"method":"_load","native":false},{"column":19,"file":"node:internal/modules/cjs/loader","function":"Module.require","line":1061,"method":"require","native":false},{"column":18,"file":"node:internal/modules/cjs/helpers","function":"require","line":103,"method":null,"native":false},{"column":42,"file":"C:\\Note-app-Backend\\Routes\\auth.js","function":null,"line":7,"method":null,"native":false},{"column":14,"file":"node:internal/modules/cjs/loader","function":"Module._compile","line":1159,"method":"_compile","native":false},{"column":10,"file":"node:internal/modules/cjs/loader","function":"Module._extensions..js","line":1213,"method":".js","native":false}]}
{"date":"Mon Aug 07 2023 10:57:13 GMT+0100 (West Africa Standard Time)","error":{},"exception":true,"level":"error","message":"uncaughtException: Invalid schema configuration: `Index` is not a valid type at path `password`. See https://bit.ly/mongoose-schematypes for a list of valid schema types.\nTypeError: Invalid schema configuration: `Index` is not a valid type at path `password`. See https://bit.ly/mongoose-schematypes for a list of valid schema types.\n at Schema.interpretAsType (C:\\Note-app-Backend\\node_modules\\mongoose\\lib\\schema.js:1400:11)\n at Schema.path (C:\\Note-app-Backend\\node_modules\\mongoose\\lib\\schema.js:1023:27)\n at Schema.add (C:\\Note-app-Backend\\node_modules\\mongoose\\lib\\schema.js:694:12)\n at new Schema (C:\\Note-app-Backend\\node_modules\\mongoose\\lib\\schema.js:133:10)\n at Object.<anonymous> (C:\\Note-app-Backend\\Model\\users.js:18:20)\n at Module._compile (node:internal/modules/cjs/loader:1159:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)\n at Module.load (node:internal/modules/cjs/loader:1037:32)\n at Module._load (node:internal/modules/cjs/loader:878:12)\n at Module.require (node:internal/modules/cjs/loader:1061:19)","os":{"loadavg":[0,0,0],"uptime":153835},"process":{"argv":["C:\\Program Files\\nodejs\\node.exe","C:\\Note-app-Backend\\app.js"],"cwd":"C:\\Note-app-Backend","execPath":"C:\\Program Files\\nodejs\\node.exe","gid":null,"memoryUsage":{"arrayBuffers":18492582,"external":19404143,"heapTotal":59596800,"heapUsed":29280448,"rss":76840960},"pid":9572,"uid":null,"version":"v18.12.1"},"stack":"TypeError: Invalid schema configuration: `Index` is not a valid type at path `password`. See https://bit.ly/mongoose-schematypes for a list of valid schema types.\n at Schema.interpretAsType (C:\\Note-app-Backend\\node_modules\\mongoose\\lib\\schema.js:1400:11)\n at Schema.path (C:\\Note-app-Backend\\node_modules\\mongoose\\lib\\schema.js:1023:27)\n at Schema.add (C:\\Note-app-Backend\\node_modules\\mongoose\\lib\\schema.js:694:12)\n at new Schema (C:\\Note-app-Backend\\node_modules\\mongoose\\lib\\schema.js:133:10)\n at Object.<anonymous> (C:\\Note-app-Backend\\Model\\users.js:18:20)\n at Module._compile (node:internal/modules/cjs/loader:1159:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)\n at Module.load (node:internal/modules/cjs/loader:1037:32)\n at Module._load (node:internal/modules/cjs/loader:878:12)\n at Module.require (node:internal/modules/cjs/loader:1061:19)","trace":[{"column":11,"file":"C:\\Note-app-Backend\\node_modules\\mongoose\\lib\\schema.js","function":"Schema.interpretAsType","line":1400,"method":"interpretAsType","native":false},{"column":27,"file":"C:\\Note-app-Backend\\node_modules\\mongoose\\lib\\schema.js","function":"Schema.path","line":1023,"method":"path","native":false},{"column":12,"file":"C:\\Note-app-Backend\\node_modules\\mongoose\\lib\\schema.js","function":"Schema.add","line":694,"method":"add","native":false},{"column":10,"file":"C:\\Note-app-Backend\\node_modules\\mongoose\\lib\\schema.js","function":"new Schema","line":133,"method":null,"native":false},{"column":20,"file":"C:\\Note-app-Backend\\Model\\users.js","function":null,"line":18,"method":null,"native":false},{"column":14,"file":"node:internal/modules/cjs/loader","function":"Module._compile","line":1159,"method":"_compile","native":false},{"column":10,"file":"node:internal/modules/cjs/loader","function":"Module._extensions..js","line":1213,"method":".js","native":false},{"column":32,"file":"node:internal/modules/cjs/loader","function":"Module.load","line":1037,"method":"load","native":false},{"column":12,"file":"node:internal/modules/cjs/loader","function":"Module._load","line":878,"method":"_load","native":false},{"column":19,"file":"node:internal/modules/cjs/loader","function":"Module.require","line":1061,"method":"require","native":false}]}
{"date":"Mon Aug 07 2023 10:57:31 GMT+0100 (West Africa Standard Time)","error":{},"exception":true,"level":"error","message":"uncaughtException: PasswordComplexity.validate is not a function\nTypeError: PasswordComplexity.validate is not a function\n at Object.<anonymous> (C:\\Note-app-Backend\\Model\\users.js:31:35)\n at Module._compile (node:internal/modules/cjs/loader:1159:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)\n at Module.load (node:internal/modules/cjs/loader:1037:32)\n at Module._load (node:internal/modules/cjs/loader:878:12)\n at Module.require (node:internal/modules/cjs/loader:1061:19)\n at require (node:internal/modules/cjs/helpers:103:18)\n at Object.<anonymous> (C:\\Note-app-Backend\\Routes\\auth.js:7:42)\n at Module._compile (node:internal/modules/cjs/loader:1159:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)","os":{"loadavg":[0,0,0],"uptime":153853},"process":{"argv":["C:\\Program Files\\nodejs\\node.exe","C:\\Note-app-Backend\\app.js"],"cwd":"C:\\Note-app-Backend","execPath":"C:\\Program Files\\nodejs\\node.exe","gid":null,"memoryUsage":{"arrayBuffers":18483951,"external":19395512,"heapTotal":59334656,"heapUsed":29265840,"rss":76484608},"pid":10596,"uid":null,"version":"v18.12.1"},"stack":"TypeError: PasswordComplexity.validate is not a function\n at Object.<anonymous> (C:\\Note-app-Backend\\Model\\users.js:31:35)\n at Module._compile (node:internal/modules/cjs/loader:1159:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)\n at Module.load (node:internal/modules/cjs/loader:1037:32)\n at Module._load (node:internal/modules/cjs/loader:878:12)\n at Module.require (node:internal/modules/cjs/loader:1061:19)\n at require (node:internal/modules/cjs/helpers:103:18)\n at Object.<anonymous> (C:\\Note-app-Backend\\Routes\\auth.js:7:42)\n at Module._compile (node:internal/modules/cjs/loader:1159:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)","trace":[{"column":35,"file":"C:\\Note-app-Backend\\Model\\users.js","function":null,"line":31,"method":null,"native":false},{"column":14,"file":"node:internal/modules/cjs/loader","function":"Module._compile","line":1159,"method":"_compile","native":false},{"column":10,"file":"node:internal/modules/cjs/loader","function":"Module._extensions..js","line":1213,"method":".js","native":false},{"column":32,"file":"node:internal/modules/cjs/loader","function":"Module.load","line":1037,"method":"load","native":false},{"column":12,"file":"node:internal/modules/cjs/loader","function":"Module._load","line":878,"method":"_load","native":false},{"column":19,"file":"node:internal/modules/cjs/loader","function":"Module.require","line":1061,"method":"require","native":false},{"column":18,"file":"node:internal/modules/cjs/helpers","function":"require","line":103,"method":null,"native":false},{"column":42,"file":"C:\\Note-app-Backend\\Routes\\auth.js","function":null,"line":7,"method":null,"native":false},{"column":14,"file":"node:internal/modules/cjs/loader","function":"Module._compile","line":1159,"method":"_compile","native":false},{"column":10,"file":"node:internal/modules/cjs/loader","function":"Module._extensions..js","line":1213,"method":".js","native":false}]}
{"date":"Mon Aug 07 2023 10:57:43 GMT+0100 (West Africa Standard Time)","error":{},"exception":true,"level":"error","message":"uncaughtException: Invalid value for schema path `password.value`, got value \"undefined\"\nTypeError: Invalid value for schema path `password.value`, got value \"undefined\"\n at Schema.add (C:\\Note-app-Backend\\node_modules\\mongoose\\lib\\schema.js:671:13)\n at Schema.add (C:\\Note-app-Backend\\node_modules\\mongoose\\lib\\schema.js:725:12)\n at new Schema (C:\\Note-app-Backend\\node_modules\\mongoose\\lib\\schema.js:133:10)\n at Object.<anonymous> (C:\\Note-app-Backend\\Model\\users.js:18:20)\n at Module._compile (node:internal/modules/cjs/loader:1159:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)\n at Module.load (node:internal/modules/cjs/loader:1037:32)\n at Module._load (node:internal/modules/cjs/loader:878:12)\n at Module.require (node:internal/modules/cjs/loader:1061:19)\n at require (node:internal/modules/cjs/helpers:103:18)","os":{"loadavg":[0,0,0],"uptime":153865},"process":{"argv":["C:\\Program Files\\nodejs\\node.exe","C:\\Note-app-Backend\\app.js"],"cwd":"C:\\Note-app-Backend","execPath":"C:\\Program Files\\nodejs\\node.exe","gid":null,"memoryUsage":{"arrayBuffers":18486794,"external":19398355,"heapTotal":59596800,"heapUsed":32225888,"rss":77586432},"pid":8640,"uid":null,"version":"v18.12.1"},"stack":"TypeError: Invalid value for schema path `password.value`, got value \"undefined\"\n at Schema.add (C:\\Note-app-Backend\\node_modules\\mongoose\\lib\\schema.js:671:13)\n at Schema.add (C:\\Note-app-Backend\\node_modules\\mongoose\\lib\\schema.js:725:12)\n at new Schema (C:\\Note-app-Backend\\node_modules\\mongoose\\lib\\schema.js:133:10)\n at Object.<anonymous> (C:\\Note-app-Backend\\Model\\users.js:18:20)\n at Module._compile (node:internal/modules/cjs/loader:1159:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)\n at Module.load (node:internal/modules/cjs/loader:1037:32)\n at Module._load (node:internal/modules/cjs/loader:878:12)\n at Module.require (node:internal/modules/cjs/loader:1061:19)\n at require (node:internal/modules/cjs/helpers:103:18)","trace":[{"column":13,"file":"C:\\Note-app-Backend\\node_modules\\mongoose\\lib\\schema.js","function":"Schema.add","line":671,"method":"add","native":false},{"column":12,"file":"C:\\Note-app-Backend\\node_modules\\mongoose\\lib\\schema.js","function":"Schema.add","line":725,"method":"add","native":false},{"column":10,"file":"C:\\Note-app-Backend\\node_modules\\mongoose\\lib\\schema.js","function":"new Schema","line":133,"method":null,"native":false},{"column":20,"file":"C:\\Note-app-Backend\\Model\\users.js","function":null,"line":18,"method":null,"native":false},{"column":14,"file":"node:internal/modules/cjs/loader","function":"Module._compile","line":1159,"method":"_compile","native":false},{"column":10,"file":"node:internal/modules/cjs/loader","function":"Module._extensions..js","line":1213,"method":".js","native":false},{"column":32,"file":"node:internal/modules/cjs/loader","function":"Module.load","line":1037,"method":"load","native":false},{"column":12,"file":"node:internal/modules/cjs/loader","function":"Module._load","line":878,"method":"_load","native":false},{"column":19,"file":"node:internal/modules/cjs/loader","function":"Module.require","line":1061,"method":"require","native":false},{"column":18,"file":"node:internal/modules/cjs/helpers","function":"require","line":103,"method":null,"native":false}]}
{"date":"Mon Aug 07 2023 10:57:50 GMT+0100 (West Africa Standard Time)","error":{},"exception":true,"level":"error","message":"uncaughtException: Invalid value for schema path `password.value`, got value \"undefined\"\nTypeError: Invalid value for schema path `password.value`, got value \"undefined\"\n at Schema.add (C:\\Note-app-Backend\\node_modules\\mongoose\\lib\\schema.js:671:13)\n at Schema.add (C:\\Note-app-Backend\\node_modules\\mongoose\\lib\\schema.js:725:12)\n at new Schema (C:\\Note-app-Backend\\node_modules\\mongoose\\lib\\schema.js:133:10)\n at Object.<anonymous> (C:\\Note-app-Backend\\Model\\users.js:18:20)\n at Module._compile (node:internal/modules/cjs/loader:1159:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)\n at Module.load (node:internal/modules/cjs/loader:1037:32)\n at Module._load (node:internal/modules/cjs/loader:878:12)\n at Module.require (node:internal/modules/cjs/loader:1061:19)\n at require (node:internal/modules/cjs/helpers:103:18)","os":{"loadavg":[0,0,0],"uptime":153872},"process":{"argv":["C:\\Program Files\\nodejs\\node.exe","C:\\Note-app-Backend\\app.js"],"cwd":"C:\\Note-app-Backend","execPath":"C:\\Program Files\\nodejs\\node.exe","gid":null,"memoryUsage":{"arrayBuffers":18492063,"external":19403624,"heapTotal":59596800,"heapUsed":32446736,"rss":76939264},"pid":14540,"uid":null,"version":"v18.12.1"},"stack":"TypeError: Invalid value for schema path `password.value`, got value \"undefined\"\n at Schema.add (C:\\Note-app-Backend\\node_modules\\mongoose\\lib\\schema.js:671:13)\n at Schema.add (C:\\Note-app-Backend\\node_modules\\mongoose\\lib\\schema.js:725:12)\n at new Schema (C:\\Note-app-Backend\\node_modules\\mongoose\\lib\\schema.js:133:10)\n at Object.<anonymous> (C:\\Note-app-Backend\\Model\\users.js:18:20)\n at Module._compile (node:internal/modules/cjs/loader:1159:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)\n at Module.load (node:internal/modules/cjs/loader:1037:32)\n at Module._load (node:internal/modules/cjs/loader:878:12)\n at Module.require (node:internal/modules/cjs/loader:1061:19)\n at require (node:internal/modules/cjs/helpers:103:18)","trace":[{"column":13,"file":"C:\\Note-app-Backend\\node_modules\\mongoose\\lib\\schema.js","function":"Schema.add","line":671,"method":"add","native":false},{"column":12,"file":"C:\\Note-app-Backend\\node_modules\\mongoose\\lib\\schema.js","function":"Schema.add","line":725,"method":"add","native":false},{"column":10,"file":"C:\\Note-app-Backend\\node_modules\\mongoose\\lib\\schema.js","function":"new Schema","line":133,"method":null,"native":false},{"column":20,"file":"C:\\Note-app-Backend\\Model\\users.js","function":null,"line":18,"method":null,"native":false},{"column":14,"file":"node:internal/modules/cjs/loader","function":"Module._compile","line":1159,"method":"_compile","native":false},{"column":10,"file":"node:internal/modules/cjs/loader","function":"Module._extensions..js","line":1213,"method":".js","native":false},{"column":32,"file":"node:internal/modules/cjs/loader","function":"Module.load","line":1037,"method":"load","native":false},{"column":12,"file":"node:internal/modules/cjs/loader","function":"Module._load","line":878,"method":"_load","native":false},{"column":19,"file":"node:internal/modules/cjs/loader","function":"Module.require","line":1061,"method":"require","native":false},{"column":18,"file":"node:internal/modules/cjs/helpers","function":"require","line":103,"method":null,"native":false}]}
{"date":"Mon Aug 07 2023 10:58:09 GMT+0100 (West Africa Standard Time)","error":{},"exception":true,"level":"error","message":"uncaughtException: PasswordComplexity is not a constructor\nTypeError: PasswordComplexity is not a constructor\n at Object.<anonymous> (C:\\Note-app-Backend\\Model\\users.js:31:16)\n at Module._compile (node:internal/modules/cjs/loader:1159:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)\n at Module.load (node:internal/modules/cjs/loader:1037:32)\n at Module._load (node:internal/modules/cjs/loader:878:12)\n at Module.require (node:internal/modules/cjs/loader:1061:19)\n at require (node:internal/modules/cjs/helpers:103:18)\n at Object.<anonymous> (C:\\Note-app-Backend\\Routes\\auth.js:7:42)\n at Module._compile (node:internal/modules/cjs/loader:1159:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)","os":{"loadavg":[0,0,0],"uptime":153891},"process":{"argv":["C:\\Program Files\\nodejs\\node.exe","C:\\Note-app-Backend\\app.js"],"cwd":"C:\\Note-app-Backend","execPath":"C:\\Program Files\\nodejs\\node.exe","gid":null,"memoryUsage":{"arrayBuffers":18483951,"external":19395512,"heapTotal":59596800,"heapUsed":29315320,"rss":76734464},"pid":6708,"uid":null,"version":"v18.12.1"},"stack":"TypeError: PasswordComplexity is not a constructor\n at Object.<anonymous> (C:\\Note-app-Backend\\Model\\users.js:31:16)\n at Module._compile (node:internal/modules/cjs/loader:1159:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)\n at Module.load (node:internal/modules/cjs/loader:1037:32)\n at Module._load (node:internal/modules/cjs/loader:878:12)\n at Module.require (node:internal/modules/cjs/loader:1061:19)\n at require (node:internal/modules/cjs/helpers:103:18)\n at Object.<anonymous> (C:\\Note-app-Backend\\Routes\\auth.js:7:42)\n at Module._compile (node:internal/modules/cjs/loader:1159:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)","trace":[{"column":16,"file":"C:\\Note-app-Backend\\Model\\users.js","function":null,"line":31,"method":null,"native":false},{"column":14,"file":"node:internal/modules/cjs/loader","function":"Module._compile","line":1159,"method":"_compile","native":false},{"column":10,"file":"node:internal/modules/cjs/loader","function":"Module._extensions..js","line":1213,"method":".js","native":false},{"column":32,"file":"node:internal/modules/cjs/loader","function":"Module.load","line":1037,"method":"load","native":false},{"column":12,"file":"node:internal/modules/cjs/loader","function":"Module._load","line":878,"method":"_load","native":false},{"column":19,"file":"node:internal/modules/cjs/loader","function":"Module.require","line":1061,"method":"require","native":false},{"column":18,"file":"node:internal/modules/cjs/helpers","function":"require","line":103,"method":null,"native":false},{"column":42,"file":"C:\\Note-app-Backend\\Routes\\auth.js","function":null,"line":7,"method":null,"native":false},{"column":14,"file":"node:internal/modules/cjs/loader","function":"Module._compile","line":1159,"method":"_compile","native":false},{"column":10,"file":"node:internal/modules/cjs/loader","function":"Module._extensions..js","line":1213,"method":".js","native":false}]}
{"date":"Mon Aug 07 2023 11:00:04 GMT+0100 (West Africa Standard Time)","error":{},"exception":true,"level":"error","message":"uncaughtException: PasswordComplexity is not defined\nReferenceError: PasswordComplexity is not defined\n at Object.<anonymous> (C:\\Note-app-Backend\\Model\\users.js:22:16)\n at Module._compile (node:internal/modules/cjs/loader:1159:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)\n at Module.load (node:internal/modules/cjs/loader:1037:32)\n at Module._load (node:internal/modules/cjs/loader:878:12)\n at Module.require (node:internal/modules/cjs/loader:1061:19)\n at require (node:internal/modules/cjs/helpers:103:18)\n at Object.<anonymous> (C:\\Note-app-Backend\\Routes\\auth.js:7:42)\n at Module._compile (node:internal/modules/cjs/loader:1159:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)","os":{"loadavg":[0,0,0],"uptime":154006},"process":{"argv":["C:\\Program Files\\nodejs\\node.exe","C:\\Note-app-Backend\\app.js"],"cwd":"C:\\Note-app-Backend","execPath":"C:\\Program Files\\nodejs\\node.exe","gid":null,"memoryUsage":{"arrayBuffers":18488926,"external":19400487,"heapTotal":60121088,"heapUsed":29105776,"rss":76820480},"pid":4424,"uid":null,"version":"v18.12.1"},"stack":"ReferenceError: PasswordComplexity is not defined\n at Object.<anonymous> (C:\\Note-app-Backend\\Model\\users.js:22:16)\n at Module._compile (node:internal/modules/cjs/loader:1159:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)\n at Module.load (node:internal/modules/cjs/loader:1037:32)\n at Module._load (node:internal/modules/cjs/loader:878:12)\n at Module.require (node:internal/modules/cjs/loader:1061:19)\n at require (node:internal/modules/cjs/helpers:103:18)\n at Object.<anonymous> (C:\\Note-app-Backend\\Routes\\auth.js:7:42)\n at Module._compile (node:internal/modules/cjs/loader:1159:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)","trace":[{"column":16,"file":"C:\\Note-app-Backend\\Model\\users.js","function":null,"line":22,"method":null,"native":false},{"column":14,"file":"node:internal/modules/cjs/loader","function":"Module._compile","line":1159,"method":"_compile","native":false},{"column":10,"file":"node:internal/modules/cjs/loader","function":"Module._extensions..js","line":1213,"method":".js","native":false},{"column":32,"file":"node:internal/modules/cjs/loader","function":"Module.load","line":1037,"method":"load","native":false},{"column":12,"file":"node:internal/modules/cjs/loader","function":"Module._load","line":878,"method":"_load","native":false},{"column":19,"file":"node:internal/modules/cjs/loader","function":"Module.require","line":1061,"method":"require","native":false},{"column":18,"file":"node:internal/modules/cjs/helpers","function":"require","line":103,"method":null,"native":false},{"column":42,"file":"C:\\Note-app-Backend\\Routes\\auth.js","function":null,"line":7,"method":null,"native":false},{"column":14,"file":"node:internal/modules/cjs/loader","function":"Module._compile","line":1159,"method":"_compile","native":false},{"column":10,"file":"node:internal/modules/cjs/loader","function":"Module._extensions..js","line":1213,"method":".js","native":false}]}
{"date":"Mon Aug 07 2023 11:00:08 GMT+0100 (West Africa Standard Time)","error":{},"exception":true,"level":"error","message":"uncaughtException: Unexpected identifier\nC:\\Note-app-Backend\\Model\\users.js:25\n confirmPassword: {\n ^^^^^^^^^^^^^^^\n\nSyntaxError: Unexpected identifier\n at Object.compileFunction (node:vm:360:18)\n at wrapSafe (node:internal/modules/cjs/loader:1088:15)\n at Module._compile (node:internal/modules/cjs/loader:1123:27)\n at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)\n at Module.load (node:internal/modules/cjs/loader:1037:32)\n at Module._load (node:internal/modules/cjs/loader:878:12)\n at Module.require (node:internal/modules/cjs/loader:1061:19)\n at require (node:internal/modules/cjs/helpers:103:18)\n at Object.<anonymous> (C:\\Note-app-Backend\\Routes\\auth.js:7:42)\n at Module._compile (node:internal/modules/cjs/loader:1159:14)","os":{"loadavg":[0,0,0],"uptime":154011},"process":{"argv":["C:\\Program Files\\nodejs\\node.exe","C:\\Note-app-Backend\\app.js"],"cwd":"C:\\Note-app-Backend","execPath":"C:\\Program Files\\nodejs\\node.exe","gid":null,"memoryUsage":{"arrayBuffers":18492582,"external":19404143,"heapTotal":59334656,"heapUsed":29179848,"rss":76996608},"pid":5648,"uid":null,"version":"v18.12.1"},"stack":"C:\\Note-app-Backend\\Model\\users.js:25\n confirmPassword: {\n ^^^^^^^^^^^^^^^\n\nSyntaxError: Unexpected identifier\n at Object.compileFunction (node:vm:360:18)\n at wrapSafe (node:internal/modules/cjs/loader:1088:15)\n at Module._compile (node:internal/modules/cjs/loader:1123:27)\n at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)\n at Module.load (node:internal/modules/cjs/loader:1037:32)\n at Module._load (node:internal/modules/cjs/loader:878:12)\n at Module.require (node:internal/modules/cjs/loader:1061:19)\n at require (node:internal/modules/cjs/helpers:103:18)\n at Object.<anonymous> (C:\\Note-app-Backend\\Routes\\auth.js:7:42)\n at Module._compile (node:internal/modules/cjs/loader:1159:14)","trace":[{"column":18,"file":"node:vm","function":"Object.compileFunction","line":360,"method":"compileFunction","native":false},{"column":15,"file":"node:internal/modules/cjs/loader","function":"wrapSafe","line":1088,"method":null,"native":false},{"column":27,"file":"node:internal/modules/cjs/loader","function":"Module._compile","line":1123,"method":"_compile","native":false},{"column":10,"file":"node:internal/modules/cjs/loader","function":"Module._extensions..js","line":1213,"method":".js","native":false},{"column":32,"file":"node:internal/modules/cjs/loader","function":"Module.load","line":1037,"method":"load","native":false},{"column":12,"file":"node:internal/modules/cjs/loader","function":"Module._load","line":878,"method":"_load","native":false},{"column":19,"file":"node:internal/modules/cjs/loader","function":"Module.require","line":1061,"method":"require","native":false},{"column":18,"file":"node:internal/modules/cjs/helpers","function":"require","line":103,"method":null,"native":false},{"column":42,"file":"C:\\Note-app-Backend\\Routes\\auth.js","function":null,"line":7,"method":null,"native":false},{"column":14,"file":"node:internal/modules/cjs/loader","function":"Module._compile","line":1159,"method":"_compile","native":false}]}
{"date":"Mon Aug 07 2023 11:01:17 GMT+0100 (West Africa Standard Time)","error":{},"exception":true,"level":"error","message":"uncaughtException: PasswordComplexity is not defined\nReferenceError: PasswordComplexity is not defined\n at Object.<anonymous> (C:\\Note-app-Backend\\Model\\users.js:22:16)\n at Module._compile (node:internal/modules/cjs/loader:1159:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)\n at Module.load (node:internal/modules/cjs/loader:1037:32)\n at Module._load (node:internal/modules/cjs/loader:878:12)\n at Module.require (node:internal/modules/cjs/loader:1061:19)\n at require (node:internal/modules/cjs/helpers:103:18)\n at Object.<anonymous> (C:\\Note-app-Backend\\Routes\\auth.js:7:42)\n at Module._compile (node:internal/modules/cjs/loader:1159:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)","os":{"loadavg":[0,0,0],"uptime":154080},"process":{"argv":["C:\\Program Files\\nodejs\\node.exe","C:\\Note-app-Backend\\app.js"],"cwd":"C:\\Note-app-Backend","execPath":"C:\\Program Files\\nodejs\\node.exe","gid":null,"memoryUsage":{"arrayBuffers":18453667,"external":19365228,"heapTotal":59334656,"heapUsed":29191584,"rss":76673024},"pid":14784,"uid":null,"version":"v18.12.1"},"stack":"ReferenceError: PasswordComplexity is not defined\n at Object.<anonymous> (C:\\Note-app-Backend\\Model\\users.js:22:16)\n at Module._compile (node:internal/modules/cjs/loader:1159:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)\n at Module.load (node:internal/modules/cjs/loader:1037:32)\n at Module._load (node:internal/modules/cjs/loader:878:12)\n at Module.require (node:internal/modules/cjs/loader:1061:19)\n at require (node:internal/modules/cjs/helpers:103:18)\n at Object.<anonymous> (C:\\Note-app-Backend\\Routes\\auth.js:7:42)\n at Module._compile (node:internal/modules/cjs/loader:1159:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)","trace":[{"column":16,"file":"C:\\Note-app-Backend\\Model\\users.js","function":null,"line":22,"method":null,"native":false},{"column":14,"file":"node:internal/modules/cjs/loader","function":"Module._compile","line":1159,"method":"_compile","native":false},{"column":10,"file":"node:internal/modules/cjs/loader","function":"Module._extensions..js","line":1213,"method":".js","native":false},{"column":32,"file":"node:internal/modules/cjs/loader","function":"Module.load","line":1037,"method":"load","native":false},{"column":12,"file":"node:internal/modules/cjs/loader","function":"Module._load","line":878,"method":"_load","native":false},{"column":19,"file":"node:internal/modules/cjs/loader","function":"Module.require","line":1061,"method":"require","native":false},{"column":18,"file":"node:internal/modules/cjs/helpers","function":"require","line":103,"method":null,"native":false},{"column":42,"file":"C:\\Note-app-Backend\\Routes\\auth.js","function":null,"line":7,"method":null,"native":false},{"column":14,"file":"node:internal/modules/cjs/loader","function":"Module._compile","line":1159,"method":"_compile","native":false},{"column":10,"file":"node:internal/modules/cjs/loader","function":"Module._extensions..js","line":1213,"method":".js","native":false}]}
{"date":"Mon Aug 07 2023 11:01:29 GMT+0100 (West Africa Standard Time)","error":{},"exception":true,"level":"error","message":"uncaughtException: PasswordComplexity is not defined\nReferenceError: PasswordComplexity is not defined\n at Object.<anonymous> (C:\\Note-app-Backend\\Model\\users.js:22:16)\n at Module._compile (node:internal/modules/cjs/loader:1159:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)\n at Module.load (node:internal/modules/cjs/loader:1037:32)\n at Module._load (node:internal/modules/cjs/loader:878:12)\n at Module.require (node:internal/modules/cjs/loader:1061:19)\n at require (node:internal/modules/cjs/helpers:103:18)\n at Object.<anonymous> (C:\\Note-app-Backend\\Routes\\auth.js:7:42)\n at Module._compile (node:internal/modules/cjs/loader:1159:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)","os":{"loadavg":[0,0,0],"uptime":154091},"process":{"argv":["C:\\Program Files\\nodejs\\node.exe","C:\\Note-app-Backend\\app.js"],"cwd":"C:\\Note-app-Backend","execPath":"C:\\Program Files\\nodejs\\node.exe","gid":null,"memoryUsage":{"arrayBuffers":18478682,"external":19390243,"heapTotal":59334656,"heapUsed":29070888,"rss":76845056},"pid":11984,"uid":null,"version":"v18.12.1"},"stack":"ReferenceError: PasswordComplexity is not defined\n at Object.<anonymous> (C:\\Note-app-Backend\\Model\\users.js:22:16)\n at Module._compile (node:internal/modules/cjs/loader:1159:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)\n at Module.load (node:internal/modules/cjs/loader:1037:32)\n at Module._load (node:internal/modules/cjs/loader:878:12)\n at Module.require (node:internal/modules/cjs/loader:1061:19)\n at require (node:internal/modules/cjs/helpers:103:18)\n at Object.<anonymous> (C:\\Note-app-Backend\\Routes\\auth.js:7:42)\n at Module._compile (node:internal/modules/cjs/loader:1159:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)","trace":[{"column":16,"file":"C:\\Note-app-Backend\\Model\\users.js","function":null,"line":22,"method":null,"native":false},{"column":14,"file":"node:internal/modules/cjs/loader","function":"Module._compile","line":1159,"method":"_compile","native":false},{"column":10,"file":"node:internal/modules/cjs/loader","function":"Module._extensions..js","line":1213,"method":".js","native":false},{"column":32,"file":"node:internal/modules/cjs/loader","function":"Module.load","line":1037,"method":"load","native":false},{"column":12,"file":"node:internal/modules/cjs/loader","function":"Module._load","line":878,"method":"_load","native":false},{"column":19,"file":"node:internal/modules/cjs/loader","function":"Module.require","line":1061,"method":"require","native":false},{"column":18,"file":"node:internal/modules/cjs/helpers","function":"require","line":103,"method":null,"native":false},{"column":42,"file":"C:\\Note-app-Backend\\Routes\\auth.js","function":null,"line":7,"method":null,"native":false},{"column":14,"file":"node:internal/modules/cjs/loader","function":"Module._compile","line":1159,"method":"_compile","native":false},{"column":10,"file":"node:internal/modules/cjs/loader","function":"Module._extensions..js","line":1213,"method":".js","native":false}]}
{"date":"Mon Aug 07 2023 11:01:55 GMT+0100 (West Africa Standard Time)","error":{},"exception":true,"level":"error","message":"uncaughtException: validateUser is not defined\nReferenceError: validateUser is not defined\n at Object.<anonymous> (C:\\Note-app-Backend\\Model\\users.js:77:27)\n at Module._compile (node:internal/modules/cjs/loader:1159:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)\n at Module.load (node:internal/modules/cjs/loader:1037:32)\n at Module._load (node:internal/modules/cjs/loader:878:12)\n at Module.require (node:internal/modules/cjs/loader:1061:19)\n at require (node:internal/modules/cjs/helpers:103:18)\n at Object.<anonymous> (C:\\Note-app-Backend\\Routes\\auth.js:7:42)\n at Module._compile (node:internal/modules/cjs/loader:1159:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)","os":{"loadavg":[0,0,0],"uptime":154117},"process":{"argv":["C:\\Program Files\\nodejs\\node.exe","C:\\Note-app-Backend\\app.js"],"cwd":"C:\\Note-app-Backend","execPath":"C:\\Program Files\\nodejs\\node.exe","gid":null,"memoryUsage":{"arrayBuffers":18492063,"external":19403624,"heapTotal":59596800,"heapUsed":32430928,"rss":77312000},"pid":14448,"uid":null,"version":"v18.12.1"},"stack":"ReferenceError: validateUser is not defined\n at Object.<anonymous> (C:\\Note-app-Backend\\Model\\users.js:77:27)\n at Module._compile (node:internal/modules/cjs/loader:1159:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)\n at Module.load (node:internal/modules/cjs/loader:1037:32)\n at Module._load (node:internal/modules/cjs/loader:878:12)\n at Module.require (node:internal/modules/cjs/loader:1061:19)\n at require (node:internal/modules/cjs/helpers:103:18)\n at Object.<anonymous> (C:\\Note-app-Backend\\Routes\\auth.js:7:42)\n at Module._compile (node:internal/modules/cjs/loader:1159:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)","trace":[{"column":27,"file":"C:\\Note-app-Backend\\Model\\users.js","function":null,"line":77,"method":null,"native":false},{"column":14,"file":"node:internal/modules/cjs/loader","function":"Module._compile","line":1159,"method":"_compile","native":false},{"column":10,"file":"node:internal/modules/cjs/loader","function":"Module._extensions..js","line":1213,"method":".js","native":false},{"column":32,"file":"node:internal/modules/cjs/loader","function":"Module.load","line":1037,"method":"load","native":false},{"column":12,"file":"node:internal/modules/cjs/loader","function":"Module._load","line":878,"method":"_load","native":false},{"column":19,"file":"node:internal/modules/cjs/loader","function":"Module.require","line":1061,"method":"require","native":false},{"column":18,"file":"node:internal/modules/cjs/helpers","function":"require","line":103,"method":null,"native":false},{"column":42,"file":"C:\\Note-app-Backend\\Routes\\auth.js","function":null,"line":7,"method":null,"native":false},{"column":14,"file":"node:internal/modules/cjs/loader","function":"Module._compile","line":1159,"method":"_compile","native":false},{"column":10,"file":"node:internal/modules/cjs/loader","function":"Module._extensions..js","line":1213,"method":".js","native":false}]}
{"date":"Mon Aug 07 2023 11:03:41 GMT+0100 (West Africa Standard Time)","error":{},"exception":true,"level":"error","message":"uncaughtException: loginValidation is not defined\nReferenceError: loginValidation is not defined\n at Object.<anonymous> (C:\\Note-app-Backend\\Model\\users.js:53:34)\n at Module._compile (node:internal/modules/cjs/loader:1159:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)\n at Module.load (node:internal/modules/cjs/loader:1037:32)\n at Module._load (node:internal/modules/cjs/loader:878:12)\n at Module.require (node:internal/modules/cjs/loader:1061:19)\n at require (node:internal/modules/cjs/helpers:103:18)\n at Object.<anonymous> (C:\\Note-app-Backend\\Routes\\auth.js:7:42)\n at Module._compile (node:internal/modules/cjs/loader:1159:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)","os":{"loadavg":[0,0,0],"uptime":154223},"process":{"argv":["C:\\Program Files\\nodejs\\node.exe","C:\\Note-app-Backend\\app.js"],"cwd":"C:\\Note-app-Backend","execPath":"C:\\Program Files\\nodejs\\node.exe","gid":null,"memoryUsage":{"arrayBuffers":18486794,"external":19398355,"heapTotal":59596800,"heapUsed":32345008,"rss":77537280},"pid":7784,"uid":null,"version":"v18.12.1"},"stack":"ReferenceError: loginValidation is not defined\n at Object.<anonymous> (C:\\Note-app-Backend\\Model\\users.js:53:34)\n at Module._compile (node:internal/modules/cjs/loader:1159:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)\n at Module.load (node:internal/modules/cjs/loader:1037:32)\n at Module._load (node:internal/modules/cjs/loader:878:12)\n at Module.require (node:internal/modules/cjs/loader:1061:19)\n at require (node:internal/modules/cjs/helpers:103:18)\n at Object.<anonymous> (C:\\Note-app-Backend\\Routes\\auth.js:7:42)\n at Module._compile (node:internal/modules/cjs/loader:1159:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)","trace":[{"column":34,"file":"C:\\Note-app-Backend\\Model\\users.js","function":null,"line":53,"method":null,"native":false},{"column":14,"file":"node:internal/modules/cjs/loader","function":"Module._compile","line":1159,"method":"_compile","native":false},{"column":10,"file":"node:internal/modules/cjs/loader","function":"Module._extensions..js","line":1213,"method":".js","native":false},{"column":32,"file":"node:internal/modules/cjs/loader","function":"Module.load","line":1037,"method":"load","native":false},{"column":12,"file":"node:internal/modules/cjs/loader","function":"Module._load","line":878,"method":"_load","native":false},{"column":19,"file":"node:internal/modules/cjs/loader","function":"Module.require","line":1061,"method":"require","native":false},{"column":18,"file":"node:internal/modules/cjs/helpers","function":"require","line":103,"method":null,"native":false},{"column":42,"file":"C:\\Note-app-Backend\\Routes\\auth.js","function":null,"line":7,"method":null,"native":false},{"column":14,"file":"node:internal/modules/cjs/loader","function":"Module._compile","line":1159,"method":"_compile","native":false},{"column":10,"file":"node:internal/modules/cjs/loader","function":"Module._extensions..js","line":1213,"method":".js","native":false}]}
{"date":"Mon Aug 07 2023 11:03:44 GMT+0100 (West Africa Standard Time)","error":{},"exception":true,"level":"error","message":"uncaughtException: loginValidation is not defined\nReferenceError: loginValidation is not defined\n at Object.<anonymous> (C:\\Note-app-Backend\\Model\\users.js:53:34)\n at Module._compile (node:internal/modules/cjs/loader:1159:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)\n at Module.load (node:internal/modules/cjs/loader:1037:32)\n at Module._load (node:internal/modules/cjs/loader:878:12)\n at Module.require (node:internal/modules/cjs/loader:1061:19)\n at require (node:internal/modules/cjs/helpers:103:18)\n at Object.<anonymous> (C:\\Note-app-Backend\\Routes\\auth.js:7:42)\n at Module._compile (node:internal/modules/cjs/loader:1159:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)","os":{"loadavg":[0,0,0],"uptime":154226},"process":{"argv":["C:\\Program Files\\nodejs\\node.exe","C:\\Note-app-Backend\\app.js"],"cwd":"C:\\Note-app-Backend","execPath":"C:\\Program Files\\nodejs\\node.exe","gid":null,"memoryUsage":{"arrayBuffers":18486794,"external":19398355,"heapTotal":59596800,"heapUsed":32310096,"rss":77246464},"pid":1860,"uid":null,"version":"v18.12.1"},"stack":"ReferenceError: loginValidation is not defined\n at Object.<anonymous> (C:\\Note-app-Backend\\Model\\users.js:53:34)\n at Module._compile (node:internal/modules/cjs/loader:1159:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)\n at Module.load (node:internal/modules/cjs/loader:1037:32)\n at Module._load (node:internal/modules/cjs/loader:878:12)\n at Module.require (node:internal/modules/cjs/loader:1061:19)\n at require (node:internal/modules/cjs/helpers:103:18)\n at Object.<anonymous> (C:\\Note-app-Backend\\Routes\\auth.js:7:42)\n at Module._compile (node:internal/modules/cjs/loader:1159:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)","trace":[{"column":34,"file":"C:\\Note-app-Backend\\Model\\users.js","function":null,"line":53,"method":null,"native":false},{"column":14,"file":"node:internal/modules/cjs/loader","function":"Module._compile","line":1159,"method":"_compile","native":false},{"column":10,"file":"node:internal/modules/cjs/loader","function":"Module._extensions..js","line":1213,"method":".js","native":false},{"column":32,"file":"node:internal/modules/cjs/loader","function":"Module.load","line":1037,"method":"load","native":false},{"column":12,"file":"node:internal/modules/cjs/loader","function":"Module._load","line":878,"method":"_load","native":false},{"column":19,"file":"node:internal/modules/cjs/loader","function":"Module.require","line":1061,"method":"require","native":false},{"column":18,"file":"node:internal/modules/cjs/helpers","function":"require","line":103,"method":null,"native":false},{"column":42,"file":"C:\\Note-app-Backend\\Routes\\auth.js","function":null,"line":7,"method":null,"native":false},{"column":14,"file":"node:internal/modules/cjs/loader","function":"Module._compile","line":1159,"method":"_compile","native":false},{"column":10,"file":"node:internal/modules/cjs/loader","function":"Module._extensions..js","line":1213,"method":".js","native":false}]}
{"date":"Mon Aug 07 2023 11:04:17 GMT+0100 (West Africa Standard Time)","error":{},"exception":true,"level":"error","message":"uncaughtException: Identifier 'router' has already been declared\nC:\\Note-app-Backend\\Routes\\auth.js:11\nrouter.post('/login', async (req,res)=>{\n^\n\nSyntaxError: Identifier 'router' has already been declared\n at Object.compileFunction (node:vm:360:18)\n at wrapSafe (node:internal/modules/cjs/loader:1088:15)\n at Module._compile (node:internal/modules/cjs/loader:1123:27)\n at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)\n at Module.load (node:internal/modules/cjs/loader:1037:32)\n at Module._load (node:internal/modules/cjs/loader:878:12)\n at Module.require (node:internal/modules/cjs/loader:1061:19)\n at require (node:internal/modules/cjs/helpers:103:18)\n at Object.<anonymous> (C:\\Note-app-Backend\\startup\\routes.js:3:13)\n at Module._compile (node:internal/modules/cjs/loader:1159:14)","os":{"loadavg":[0,0,0],"uptime":154260},"process":{"argv":["C:\\Program Files\\nodejs\\node.exe","C:\\Note-app-Backend\\app.js"],"cwd":"C:\\Note-app-Backend","execPath":"C:\\Program Files\\nodejs\\node.exe","gid":null,"memoryUsage":{"arrayBuffers":18628372,"external":19539933,"heapTotal":39673856,"heapUsed":29478192,"rss":72937472},"pid":5544,"uid":null,"version":"v18.12.1"},"stack":"C:\\Note-app-Backend\\Routes\\auth.js:11\nrouter.post('/login', async (req,res)=>{\n^\n\nSyntaxError: Identifier 'router' has already been declared\n at Object.compileFunction (node:vm:360:18)\n at wrapSafe (node:internal/modules/cjs/loader:1088:15)\n at Module._compile (node:internal/modules/cjs/loader:1123:27)\n at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)\n at Module.load (node:internal/modules/cjs/loader:1037:32)\n at Module._load (node:internal/modules/cjs/loader:878:12)\n at Module.require (node:internal/modules/cjs/loader:1061:19)\n at require (node:internal/modules/cjs/helpers:103:18)\n at Object.<anonymous> (C:\\Note-app-Backend\\startup\\routes.js:3:13)\n at Module._compile (node:internal/modules/cjs/loader:1159:14)","trace":[{"column":18,"file":"node:vm","function":"Object.compileFunction","line":360,"method":"compileFunction","native":false},{"column":15,"file":"node:internal/modules/cjs/loader","function":"wrapSafe","line":1088,"method":null,"native":false},{"column":27,"file":"node:internal/modules/cjs/loader","function":"Module._compile","line":1123,"method":"_compile","native":false},{"column":10,"file":"node:internal/modules/cjs/loader","function":"Module._extensions..js","line":1213,"method":".js","native":false},{"column":32,"file":"node:internal/modules/cjs/loader","function":"Module.load","line":1037,"method":"load","native":false},{"column":12,"file":"node:internal/modules/cjs/loader","function":"Module._load","line":878,"method":"_load","native":false},{"column":19,"file":"node:internal/modules/cjs/loader","function":"Module.require","line":1061,"method":"require","native":false},{"column":18,"file":"node:internal/modules/cjs/helpers","function":"require","line":103,"method":null,"native":false},{"column":13,"file":"C:\\Note-app-Backend\\startup\\routes.js","function":null,"line":3,"method":null,"native":false},{"column":14,"file":"node:internal/modules/cjs/loader","function":"Module._compile","line":1159,"method":"_compile","native":false}]}
{"date":"Mon Aug 07 2023 11:04:20 GMT+0100 (West Africa Standard Time)","error":{},"exception":true,"level":"error","message":"uncaughtException: Missing initializer in destructuring declaration\nC:\\Note-app-Backend\\Routes\\auth.js:8\nconst {validate, loginValidation}\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\nSyntaxError: Missing initializer in destructuring declaration\n at Object.compileFunction (node:vm:360:18)\n at wrapSafe (node:internal/modules/cjs/loader:1088:15)\n at Module._compile (node:internal/modules/cjs/loader:1123:27)\n at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)\n at Module.load (node:internal/modules/cjs/loader:1037:32)\n at Module._load (node:internal/modules/cjs/loader:878:12)\n at Module.require (node:internal/modules/cjs/loader:1061:19)\n at require (node:internal/modules/cjs/helpers:103:18)\n at Object.<anonymous> (C:\\Note-app-Backend\\startup\\routes.js:3:13)\n at Module._compile (node:internal/modules/cjs/loader:1159:14)","os":{"loadavg":[0,0,0],"uptime":154263},"process":{"argv":["C:\\Program Files\\nodejs\\node.exe","C:\\Note-app-Backend\\app.js"],"cwd":"C:\\Note-app-Backend","execPath":"C:\\Program Files\\nodejs\\node.exe","gid":null,"memoryUsage":{"arrayBuffers":18650022,"external":19561583,"heapTotal":39673856,"heapUsed":29634848,"rss":73252864},"pid":14848,"uid":null,"version":"v18.12.1"},"stack":"C:\\Note-app-Backend\\Routes\\auth.js:8\nconst {validate, loginValidation}\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\nSyntaxError: Missing initializer in destructuring declaration\n at Object.compileFunction (node:vm:360:18)\n at wrapSafe (node:internal/modules/cjs/loader:1088:15)\n at Module._compile (node:internal/modules/cjs/loader:1123:27)\n at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)\n at Module.load (node:internal/modules/cjs/loader:1037:32)\n at Module._load (node:internal/modules/cjs/loader:878:12)\n at Module.require (node:internal/modules/cjs/loader:1061:19)\n at require (node:internal/modules/cjs/helpers:103:18)\n at Object.<anonymous> (C:\\Note-app-Backend\\startup\\routes.js:3:13)\n at Module._compile (node:internal/modules/cjs/loader:1159:14)","trace":[{"column":18,"file":"node:vm","function":"Object.compileFunction","line":360,"method":"compileFunction","native":false},{"column":15,"file":"node:internal/modules/cjs/loader","function":"wrapSafe","line":1088,"method":null,"native":false},{"column":27,"file":"node:internal/modules/cjs/loader","function":"Module._compile","line":1123,"method":"_compile","native":false},{"column":10,"file":"node:internal/modules/cjs/loader","function":"Module._extensions..js","line":1213,"method":".js","native":false},{"column":32,"file":"node:internal/modules/cjs/loader","function":"Module.load","line":1037,"method":"load","native":false},{"column":12,"file":"node:internal/modules/cjs/loader","function":"Module._load","line":878,"method":"_load","native":false},{"column":19,"file":"node:internal/modules/cjs/loader","function":"Module.require","line":1061,"method":"require","native":false},{"column":18,"file":"node:internal/modules/cjs/helpers","function":"require","line":103,"method":null,"native":false},{"column":13,"file":"C:\\Note-app-Backend\\startup\\routes.js","function":null,"line":3,"method":null,"native":false},{"column":14,"file":"node:internal/modules/cjs/loader","function":"Module._compile","line":1159,"method":"_compile","native":false}]}
{"date":"Mon Aug 07 2023 11:04:23 GMT+0100 (West Africa Standard Time)","error":{},"exception":true,"level":"error","message":"uncaughtException: req is not defined\nReferenceError: req is not defined\n at Object.<anonymous> (C:\\Note-app-Backend\\Routes\\auth.js:8:37)\n at Module._compile (node:internal/modules/cjs/loader:1159:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)\n at Module.load (node:internal/modules/cjs/loader:1037:32)\n at Module._load (node:internal/modules/cjs/loader:878:12)\n at Module.require (node:internal/modules/cjs/loader:1061:19)\n at require (node:internal/modules/cjs/helpers:103:18)\n at Object.<anonymous> (C:\\Note-app-Backend\\startup\\routes.js:3:13)\n at Module._compile (node:internal/modules/cjs/loader:1159:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)","os":{"loadavg":[0,0,0],"uptime":154266},"process":{"argv":["C:\\Program Files\\nodejs\\node.exe","C:\\Note-app-Backend\\app.js"],"cwd":"C:\\Note-app-Backend","execPath":"C:\\Program Files\\nodejs\\node.exe","gid":null,"memoryUsage":{"arrayBuffers":18486794,"external":19398355,"heapTotal":59858944,"heapUsed":32421088,"rss":77561856},"pid":8060,"uid":null,"version":"v18.12.1"},"stack":"ReferenceError: req is not defined\n at Object.<anonymous> (C:\\Note-app-Backend\\Routes\\auth.js:8:37)\n at Module._compile (node:internal/modules/cjs/loader:1159:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)\n at Module.load (node:internal/modules/cjs/loader:1037:32)\n at Module._load (node:internal/modules/cjs/loader:878:12)\n at Module.require (node:internal/modules/cjs/loader:1061:19)\n at require (node:internal/modules/cjs/helpers:103:18)\n at Object.<anonymous> (C:\\Note-app-Backend\\startup\\routes.js:3:13)\n at Module._compile (node:internal/modules/cjs/loader:1159:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)","trace":[{"column":37,"file":"C:\\Note-app-Backend\\Routes\\auth.js","function":null,"line":8,"method":null,"native":false},{"column":14,"file":"node:internal/modules/cjs/loader","function":"Module._compile","line":1159,"method":"_compile","native":false},{"column":10,"file":"node:internal/modules/cjs/loader","function":"Module._extensions..js","line":1213,"method":".js","native":false},{"column":32,"file":"node:internal/modules/cjs/loader","function":"Module.load","line":1037,"method":"load","native":false},{"column":12,"file":"node:internal/modules/cjs/loader","function":"Module._load","line":878,"method":"_load","native":false},{"column":19,"file":"node:internal/modules/cjs/loader","function":"Module.require","line":1061,"method":"require","native":false},{"column":18,"file":"node:internal/modules/cjs/helpers","function":"require","line":103,"method":null,"native":false},{"column":13,"file":"C:\\Note-app-Backend\\startup\\routes.js","function":null,"line":3,"method":null,"native":false},{"column":14,"file":"node:internal/modules/cjs/loader","function":"Module._compile","line":1159,"method":"_compile","native":false},{"column":10,"file":"node:internal/modules/cjs/loader","function":"Module._extensions..js","line":1213,"method":".js","native":false}]}
{"date":"Mon Aug 07 2023 11:16:52 GMT+0100 (West Africa Standard Time)","error":{},"exception":true,"level":"error","message":"uncaughtException: Unexpected identifier\nC:\\Note-app-Backend\\Routes\\auth.js:28\n token});\n ^^^^^\n\nSyntaxError: Unexpected identifier\n at Object.compileFunction (node:vm:360:18)\n at wrapSafe (node:internal/modules/cjs/loader:1088:15)\n at Module._compile (node:internal/modules/cjs/loader:1123:27)\n at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)\n at Module.load (node:internal/modules/cjs/loader:1037:32)\n at Module._load (node:internal/modules/cjs/loader:878:12)\n at Module.require (node:internal/modules/cjs/loader:1061:19)\n at require (node:internal/modules/cjs/helpers:103:18)\n at Object.<anonymous> (C:\\Note-app-Backend\\startup\\routes.js:3:13)\n at Module._compile (node:internal/modules/cjs/loader:1159:14)","os":{"loadavg":[0,0,0],"uptime":155014},"process":{"argv":["C:\\Program Files\\nodejs\\node.exe","C:\\Note-app-Backend\\app.js"],"cwd":"C:\\Note-app-Backend","execPath":"C:\\Program Files\\nodejs\\node.exe","gid":null,"memoryUsage":{"arrayBuffers":18628372,"external":19539933,"heapTotal":39673856,"heapUsed":29524992,"rss":72982528},"pid":9188,"uid":null,"version":"v18.12.1"},"stack":"C:\\Note-app-Backend\\Routes\\auth.js:28\n token});\n ^^^^^\n\nSyntaxError: Unexpected identifier\n at Object.compileFunction (node:vm:360:18)\n at wrapSafe (node:internal/modules/cjs/loader:1088:15)\n at Module._compile (node:internal/modules/cjs/loader:1123:27)\n at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)\n at Module.load (node:internal/modules/cjs/loader:1037:32)\n at Module._load (node:internal/modules/cjs/loader:878:12)\n at Module.require (node:internal/modules/cjs/loader:1061:19)\n at require (node:internal/modules/cjs/helpers:103:18)\n at Object.<anonymous> (C:\\Note-app-Backend\\startup\\routes.js:3:13)\n at Module._compile (node:internal/modules/cjs/loader:1159:14)","trace":[{"column":18,"file":"node:vm","function":"Object.compileFunction","line":360,"method":"compileFunction","native":false},{"column":15,"file":"node:internal/modules/cjs/loader","function":"wrapSafe","line":1088,"method":null,"native":false},{"column":27,"file":"node:internal/modules/cjs/loader","function":"Module._compile","line":1123,"method":"_compile","native":false},{"column":10,"file":"node:internal/modules/cjs/loader","function":"Module._extensions..js","line":1213,"method":".js","native":false},{"column":32,"file":"node:internal/modules/cjs/loader","function":"Module.load","line":1037,"method":"load","native":false},{"column":12,"file":"node:internal/modules/cjs/loader","function":"Module._load","line":878,"method":"_load","native":false},{"column":19,"file":"node:internal/modules/cjs/loader","function":"Module.require","line":1061,"method":"require","native":false},{"column":18,"file":"node:internal/modules/cjs/helpers","function":"require","line":103,"method":null,"native":false},{"column":13,"file":"C:\\Note-app-Backend\\startup\\routes.js","function":null,"line":3,"method":null,"native":false},{"column":14,"file":"node:internal/modules/cjs/loader","function":"Module._compile","line":1159,"method":"_compile","native":false}]}
{"date":"Mon Aug 07 2023 11:17:00 GMT+0100 (West Africa Standard Time)","error":{},"exception":true,"level":"error","message":"uncaughtException: Unexpected identifier\nC:\\Note-app-Backend\\Routes\\auth.js:28\n token});\n ^^^^^\n\nSyntaxError: Unexpected identifier\n at Object.compileFunction (node:vm:360:18)\n at wrapSafe (node:internal/modules/cjs/loader:1088:15)\n at Module._compile (node:internal/modules/cjs/loader:1123:27)\n at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)\n at Module.load (node:internal/modules/cjs/loader:1037:32)\n at Module._load (node:internal/modules/cjs/loader:878:12)\n at Module.require (node:internal/modules/cjs/loader:1061:19)\n at require (node:internal/modules/cjs/helpers:103:18)\n at Object.<anonymous> (C:\\Note-app-Backend\\startup\\routes.js:3:13)\n at Module._compile (node:internal/modules/cjs/loader:1159:14)","os":{"loadavg":[0,0,0],"uptime":155022},"process":{"argv":["C:\\Program Files\\nodejs\\node.exe","C:\\Note-app-Backend\\app.js"],"cwd":"C:\\Note-app-Backend","execPath":"C:\\Program Files\\nodejs\\node.exe","gid":null,"memoryUsage":{"arrayBuffers":18650022,"external":19561583,"heapTotal":39673856,"heapUsed":29545672,"rss":72908800},"pid":14368,"uid":null,"version":"v18.12.1"},"stack":"C:\\Note-app-Backend\\Routes\\auth.js:28\n token});\n ^^^^^\n\nSyntaxError: Unexpected identifier\n at Object.compileFunction (node:vm:360:18)\n at wrapSafe (node:internal/modules/cjs/loader:1088:15)\n at Module._compile (node:internal/modules/cjs/loader:1123:27)\n at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)\n at Module.load (node:internal/modules/cjs/loader:1037:32)\n at Module._load (node:internal/modules/cjs/loader:878:12)\n at Module.require (node:internal/modules/cjs/loader:1061:19)\n at require (node:internal/modules/cjs/helpers:103:18)\n at Object.<anonymous> (C:\\Note-app-Backend\\startup\\routes.js:3:13)\n at Module._compile (node:internal/modules/cjs/loader:1159:14)","trace":[{"column":18,"file":"node:vm","function":"Object.compileFunction","line":360,"method":"compileFunction","native":false},{"column":15,"file":"node:internal/modules/cjs/loader","function":"wrapSafe","line":1088,"method":null,"native":false},{"column":27,"file":"node:internal/modules/cjs/loader","function":"Module._compile","line":1123,"method":"_compile","native":false},{"column":10,"file":"node:internal/modules/cjs/loader","function":"Module._extensions..js","line":1213,"method":".js","native":false},{"column":32,"file":"node:internal/modules/cjs/loader","function":"Module.load","line":1037,"method":"load","native":false},{"column":12,"file":"node:internal/modules/cjs/loader","function":"Module._load","line":878,"method":"_load","native":false},{"column":19,"file":"node:internal/modules/cjs/loader","function":"Module.require","line":1061,"method":"require","native":false},{"column":18,"file":"node:internal/modules/cjs/helpers","function":"require","line":103,"method":null,"native":false},{"column":13,"file":"C:\\Note-app-Backend\\startup\\routes.js","function":null,"line":3,"method":null,"native":false},{"column":14,"file":"node:internal/modules/cjs/loader","function":"Module._compile","line":1159,"method":"_compile","native":false}]}
{"date":"Mon Aug 07 2023 11:17:15 GMT+0100 (West Africa Standard Time)","error":{},"exception":true,"level":"error","message":"uncaughtException: Invalid or unexpected token\nC:\\Note-app-Backend\\Routes\\auth.js:25\n res.status(200json({\n ^^^\n\nSyntaxError: Invalid or unexpected token\n at Object.compileFunction (node:vm:360:18)\n at wrapSafe (node:internal/modules/cjs/loader:1088:15)\n at Module._compile (node:internal/modules/cjs/loader:1123:27)\n at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)\n at Module.load (node:internal/modules/cjs/loader:1037:32)\n at Module._load (node:internal/modules/cjs/loader:878:12)\n at Module.require (node:internal/modules/cjs/loader:1061:19)\n at require (node:internal/modules/cjs/helpers:103:18)\n at Object.<anonymous> (C:\\Note-app-Backend\\startup\\routes.js:3:13)\n at Module._compile (node:internal/modules/cjs/loader:1159:14)","os":{"loadavg":[0,0,0],"uptime":155037},"process":{"argv":["C:\\Program Files\\nodejs\\node.exe","C:\\Note-app-Backend\\app.js"],"cwd":"C:\\Note-app-Backend","execPath":"C:\\Program Files\\nodejs\\node.exe","gid":null,"memoryUsage":{"arrayBuffers":18660276,"external":19571837,"heapTotal":39673856,"heapUsed":29595952,"rss":73023488},"pid":8032,"uid":null,"version":"v18.12.1"},"stack":"C:\\Note-app-Backend\\Routes\\auth.js:25\n res.status(200json({\n ^^^\n\nSyntaxError: Invalid or unexpected token\n at Object.compileFunction (node:vm:360:18)\n at wrapSafe (node:internal/modules/cjs/loader:1088:15)\n at Module._compile (node:internal/modules/cjs/loader:1123:27)\n at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)\n at Module.load (node:internal/modules/cjs/loader:1037:32)\n at Module._load (node:internal/modules/cjs/loader:878:12)\n at Module.require (node:internal/modules/cjs/loader:1061:19)\n at require (node:internal/modules/cjs/helpers:103:18)\n at Object.<anonymous> (C:\\Note-app-Backend\\startup\\routes.js:3:13)\n at Module._compile (node:internal/modules/cjs/loader:1159:14)","trace":[{"column":18,"file":"node:vm","function":"Object.compileFunction","line":360,"method":"compileFunction","native":false},{"column":15,"file":"node:internal/modules/cjs/loader","function":"wrapSafe","line":1088,"method":null,"native":false},{"column":27,"file":"node:internal/modules/cjs/loader","function":"Module._compile","line":1123,"method":"_compile","native":false},{"column":10,"file":"node:internal/modules/cjs/loader","function":"Module._extensions..js","line":1213,"method":".js","native":false},{"column":32,"file":"node:internal/modules/cjs/loader","function":"Module.load","line":1037,"method":"load","native":false},{"column":12,"file":"node:internal/modules/cjs/loader","function":"Module._load","line":878,"method":"_load","native":false},{"column":19,"file":"node:internal/modules/cjs/loader","function":"Module.require","line":1061,"method":"require","native":false},{"column":18,"file":"node:internal/modules/cjs/helpers","function":"require","line":103,"method":null,"native":false},{"column":13,"file":"C:\\Note-app-Backend\\startup\\routes.js","function":null,"line":3,"method":null,"native":false},{"column":14,"file":"node:internal/modules/cjs/loader","function":"Module._compile","line":1159,"method":"_compile","native":false}]}
{"date":"Mon Aug 07 2023 11:23:56 GMT+0100 (West Africa Standard Time)","error":{},"exception":true,"level":"error","message":"uncaughtException: ti is not defined\nReferenceError: ti is not defined\n at Object.<anonymous> (C:\\Note-app-Backend\\Model\\notes.js:21:5)\n at Module._compile (node:internal/modules/cjs/loader:1159:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)\n at Module.load (node:internal/modules/cjs/loader:1037:32)\n at Module._load (node:internal/modules/cjs/loader:878:12)\n at Module.require (node:internal/modules/cjs/loader:1061:19)\n at require (node:internal/modules/cjs/helpers:103:18)\n at Object.<anonymous> (C:\\Note-app-Backend\\Routes\\note.js:9:32)\n at Module._compile (node:internal/modules/cjs/loader:1159:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)","os":{"loadavg":[0,0,0],"uptime":155439},"process":{"argv":["C:\\Program Files\\nodejs\\node.exe","C:\\Note-app-Backend\\app.js"],"cwd":"C:\\Note-app-Backend","execPath":"C:\\Program Files\\nodejs\\node.exe","gid":null,"memoryUsage":{"arrayBuffers":18652084,"external":19563645,"heapTotal":39411712,"heapUsed":29017176,"rss":71147520},"pid":7336,"uid":null,"version":"v18.12.1"},"stack":"ReferenceError: ti is not defined\n at Object.<anonymous> (C:\\Note-app-Backend\\Model\\notes.js:21:5)\n at Module._compile (node:internal/modules/cjs/loader:1159:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)\n at Module.load (node:internal/modules/cjs/loader:1037:32)\n at Module._load (node:internal/modules/cjs/loader:878:12)\n at Module.require (node:internal/modules/cjs/loader:1061:19)\n at require (node:internal/modules/cjs/helpers:103:18)\n at Object.<anonymous> (C:\\Note-app-Backend\\Routes\\note.js:9:32)\n at Module._compile (node:internal/modules/cjs/loader:1159:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)","trace":[{"column":5,"file":"C:\\Note-app-Backend\\Model\\notes.js","function":null,"line":21,"method":null,"native":false},{"column":14,"file":"node:internal/modules/cjs/loader","function":"Module._compile","line":1159,"method":"_compile","native":false},{"column":10,"file":"node:internal/modules/cjs/loader","function":"Module._extensions..js","line":1213,"method":".js","native":false},{"column":32,"file":"node:internal/modules/cjs/loader","function":"Module.load","line":1037,"method":"load","native":false},{"column":12,"file":"node:internal/modules/cjs/loader","function":"Module._load","line":878,"method":"_load","native":false},{"column":19,"file":"node:internal/modules/cjs/loader","function":"Module.require","line":1061,"method":"require","native":false},{"column":18,"file":"node:internal/modules/cjs/helpers","function":"require","line":103,"method":null,"native":false},{"column":32,"file":"C:\\Note-app-Backend\\Routes\\note.js","function":null,"line":9,"method":null,"native":false},{"column":14,"file":"node:internal/modules/cjs/loader","function":"Module._compile","line":1159,"method":"_compile","native":false},{"column":10,"file":"node:internal/modules/cjs/loader","function":"Module._extensions..js","line":1213,"method":".js","native":false}]}
{"date":"Mon Aug 07 2023 11:27:10 GMT+0100 (West Africa Standard Time)","error":{},"exception":true,"level":"error","message":"uncaughtException: await is only valid in async functions and the top level bodies of modules\nC:\\Note-app-Backend\\middleware\\auth.js:10\n const user = await User.findOne({_id: decoded._id});\n ^^^^^\n\nSyntaxError: await is only valid in async functions and the top level bodies of modules\n at Object.compileFunction (node:vm:360:18)\n at wrapSafe (node:internal/modules/cjs/loader:1088:15)\n at Module._compile (node:internal/modules/cjs/loader:1123:27)\n at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)\n at Module.load (node:internal/modules/cjs/loader:1037:32)\n at Module._load (node:internal/modules/cjs/loader:878:12)\n at Module.require (node:internal/modules/cjs/loader:1061:19)\n at require (node:internal/modules/cjs/helpers:103:18)\n at Object.<anonymous> (C:\\Note-app-Backend\\Routes\\note.js:3:14)\n at Module._compile (node:internal/modules/cjs/loader:1159:14)","os":{"loadavg":[0,0,0],"uptime":155632},"process":{"argv":["C:\\Program Files\\nodejs\\node.exe","C:\\Note-app-Backend\\app.js"],"cwd":"C:\\Note-app-Backend","execPath":"C:\\Program Files\\nodejs\\node.exe","gid":null,"memoryUsage":{"arrayBuffers":116969,"external":847972,"heapTotal":19222528,"heapUsed":11777784,"rss":42090496},"pid":5464,"uid":null,"version":"v18.12.1"},"stack":"C:\\Note-app-Backend\\middleware\\auth.js:10\n const user = await User.findOne({_id: decoded._id});\n ^^^^^\n\nSyntaxError: await is only valid in async functions and the top level bodies of modules\n at Object.compileFunction (node:vm:360:18)\n at wrapSafe (node:internal/modules/cjs/loader:1088:15)\n at Module._compile (node:internal/modules/cjs/loader:1123:27)\n at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)\n at Module.load (node:internal/modules/cjs/loader:1037:32)\n at Module._load (node:internal/modules/cjs/loader:878:12)\n at Module.require (node:internal/modules/cjs/loader:1061:19)\n at require (node:internal/modules/cjs/helpers:103:18)\n at Object.<anonymous> (C:\\Note-app-Backend\\Routes\\note.js:3:14)\n at Module._compile (node:internal/modules/cjs/loader:1159:14)","trace":[{"column":18,"file":"node:vm","function":"Object.compileFunction","line":360,"method":"compileFunction","native":false},{"column":15,"file":"node:internal/modules/cjs/loader","function":"wrapSafe","line":1088,"method":null,"native":false},{"column":27,"file":"node:internal/modules/cjs/loader","function":"Module._compile","line":1123,"method":"_compile","native":false},{"column":10,"file":"node:internal/modules/cjs/loader","function":"Module._extensions..js","line":1213,"method":".js","native":false},{"column":32,"file":"node:internal/modules/cjs/loader","function":"Module.load","line":1037,"method":"load","native":false},{"column":12,"file":"node:internal/modules/cjs/loader","function":"Module._load","line":878,"method":"_load","native":false},{"column":19,"file":"node:internal/modules/cjs/loader","function":"Module.require","line":1061,"method":"require","native":false},{"column":18,"file":"node:internal/modules/cjs/helpers","function":"require","line":103,"method":null,"native":false},{"column":14,"file":"C:\\Note-app-Backend\\Routes\\note.js","function":null,"line":3,"method":null,"native":false},{"column":14,"file":"node:internal/modules/cjs/loader","function":"Module._compile","line":1159,"method":"_compile","native":false}]}
{"date":"Mon Aug 07 2023 11:27:12 GMT+0100 (West Africa Standard Time)","error":{},"exception":true,"level":"error","message":"uncaughtException: await is only valid in async functions and the top level bodies of modules\nC:\\Note-app-Backend\\middleware\\auth.js:10\n const user = await U.findOne({_id: decoded._id});\n ^^^^^\n\nSyntaxError: await is only valid in async functions and the top level bodies of modules\n at Object.compileFunction (node:vm:360:18)\n at wrapSafe (node:internal/modules/cjs/loader:1088:15)\n at Module._compile (node:internal/modules/cjs/loader:1123:27)\n at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)\n at Module.load (node:internal/modules/cjs/loader:1037:32)\n at Module._load (node:internal/modules/cjs/loader:878:12)\n at Module.require (node:internal/modules/cjs/loader:1061:19)\n at require (node:internal/modules/cjs/helpers:103:18)\n at Object.<anonymous> (C:\\Note-app-Backend\\Routes\\note.js:3:14)\n at Module._compile (node:internal/modules/cjs/loader:1159:14)","os":{"loadavg":[0,0,0],"uptime":155635},"process":{"argv":["C:\\Program Files\\nodejs\\node.exe","C:\\Note-app-Backend\\app.js"],"cwd":"C:\\Note-app-Backend","execPath":"C:\\Program Files\\nodejs\\node.exe","gid":null,"memoryUsage":{"arrayBuffers":116969,"external":847972,"heapTotal":18960384,"heapUsed":11657896,"rss":41840640},"pid":3980,"uid":null,"version":"v18.12.1"},"stack":"C:\\Note-app-Backend\\middleware\\auth.js:10\n const user = await U.findOne({_id: decoded._id});\n ^^^^^\n\nSyntaxError: await is only valid in async functions and the top level bodies of modules\n at Object.compileFunction (node:vm:360:18)\n at wrapSafe (node:internal/modules/cjs/loader:1088:15)\n at Module._compile (node:internal/modules/cjs/loader:1123:27)\n at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)\n at Module.load (node:internal/modules/cjs/loader:1037:32)\n at Module._load (node:internal/modules/cjs/loader:878:12)\n at Module.require (node:internal/modules/cjs/loader:1061:19)\n at require (node:internal/modules/cjs/helpers:103:18)\n at Object.<anonymous> (C:\\Note-app-Backend\\Routes\\note.js:3:14)\n at Module._compile (node:internal/modules/cjs/loader:1159:14)","trace":[{"column":18,"file":"node:vm","function":"Object.compileFunction","line":360,"method":"compileFunction","native":false},{"column":15,"file":"node:internal/modules/cjs/loader","function":"wrapSafe","line":1088,"method":null,"native":false},{"column":27,"file":"node:internal/modules/cjs/loader","function":"Module._compile","line":1123,"method":"_compile","native":false},{"column":10,"file":"node:internal/modules/cjs/loader","function":"Module._extensions..js","line":1213,"method":".js","native":false},{"column":32,"file":"node:internal/modules/cjs/loader","function":"Module.load","line":1037,"method":"load","native":false},{"column":12,"file":"node:internal/modules/cjs/loader","function":"Module._load","line":878,"method":"_load","native":false},{"column":19,"file":"node:internal/modules/cjs/loader","function":"Module.require","line":1061,"method":"require","native":false},{"column":18,"file":"node:internal/modules/cjs/helpers","function":"require","line":103,"method":null,"native":false},{"column":14,"file":"C:\\Note-app-Backend\\Routes\\note.js","function":null,"line":3,"method":null,"native":false},{"column":14,"file":"node:internal/modules/cjs/loader","function":"Module._compile","line":1159,"method":"_compile","native":false}]}
{"date":"Mon Aug 07 2023 11:27:14 GMT+0100 (West Africa Standard Time)","error":{},"exception":true,"level":"error","message":"uncaughtException: await is only valid in async functions and the top level bodies of modules\nC:\\Note-app-Backend\\middleware\\auth.js:10\n const user = await Us.findOne({_id: decoded._id});\n ^^^^^\n\nSyntaxError: await is only valid in async functions and the top level bodies of modules\n at Object.compileFunction (node:vm:360:18)\n at wrapSafe (node:internal/modules/cjs/loader:1088:15)\n at Module._compile (node:internal/modules/cjs/loader:1123:27)\n at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)\n at Module.load (node:internal/modules/cjs/loader:1037:32)\n at Module._load (node:internal/modules/cjs/loader:878:12)\n at Module.require (node:internal/modules/cjs/loader:1061:19)\n at require (node:internal/modules/cjs/helpers:103:18)\n at Object.<anonymous> (C:\\Note-app-Backend\\Routes\\note.js:3:14)\n at Module._compile (node:internal/modules/cjs/loader:1159:14)","os":{"loadavg":[0,0,0],"uptime":155636},"process":{"argv":["C:\\Program Files\\nodejs\\node.exe","C:\\Note-app-Backend\\app.js"],"cwd":"C:\\Note-app-Backend","execPath":"C:\\Program Files\\nodejs\\node.exe","gid":null,"memoryUsage":{"arrayBuffers":116969,"external":847972,"heapTotal":19222528,"heapUsed":11706616,"rss":41926656},"pid":12516,"uid":null,"version":"v18.12.1"},"stack":"C:\\Note-app-Backend\\middleware\\auth.js:10\n const user = await Us.findOne({_id: decoded._id});\n ^^^^^\n\nSyntaxError: await is only valid in async functions and the top level bodies of modules\n at Object.compileFunction (node:vm:360:18)\n at wrapSafe (node:internal/modules/cjs/loader:1088:15)\n at Module._compile (node:internal/modules/cjs/loader:1123:27)\n at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)\n at Module.load (node:internal/modules/cjs/loader:1037:32)\n at Module._load (node:internal/modules/cjs/loader:878:12)\n at Module.require (node:internal/modules/cjs/loader:1061:19)\n at require (node:internal/modules/cjs/helpers:103:18)\n at Object.<anonymous> (C:\\Note-app-Backend\\Routes\\note.js:3:14)\n at Module._compile (node:internal/modules/cjs/loader:1159:14)","trace":[{"column":18,"file":"node:vm","function":"Object.compileFunction","line":360,"method":"compileFunction","native":false},{"column":15,"file":"node:internal/modules/cjs/loader","function":"wrapSafe","line":1088,"method":null,"native":false},{"column":27,"file":"node:internal/modules/cjs/loader","function":"Module._compile","line":1123,"method":"_compile","native":false},{"column":10,"file":"node:internal/modules/cjs/loader","function":"Module._extensions..js","line":1213,"method":".js","native":false},{"column":32,"file":"node:internal/modules/cjs/loader","function":"Module.load","line":1037,"method":"load","native":false},{"column":12,"file":"node:internal/modules/cjs/loader","function":"Module._load","line":878,"method":"_load","native":false},{"column":19,"file":"node:internal/modules/cjs/loader","function":"Module.require","line":1061,"method":"require","native":false},{"column":18,"file":"node:internal/modules/cjs/helpers","function":"require","line":103,"method":null,"native":false},{"column":14,"file":"C:\\Note-app-Backend\\Routes\\note.js","function":null,"line":3,"method":null,"native":false},{"column":14,"file":"node:internal/modules/cjs/loader","function":"Module._compile","line":1159,"method":"_compile","native":false}]}
{"date":"Mon Aug 07 2023 11:27:16 GMT+0100 (West Africa Standard Time)","error":{},"exception":true,"level":"error","message":"uncaughtException: await is only valid in async functions and the top level bodies of modules\nC:\\Note-app-Backend\\middleware\\auth.js:11\n const user = await User.findOne({_id: decoded._id});\n ^^^^^\n\nSyntaxError: await is only valid in async functions and the top level bodies of modules\n at Object.compileFunction (node:vm:360:18)\n at wrapSafe (node:internal/modules/cjs/loader:1088:15)\n at Module._compile (node:internal/modules/cjs/loader:1123:27)\n at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)\n at Module.load (node:internal/modules/cjs/loader:1037:32)\n at Module._load (node:internal/modules/cjs/loader:878:12)\n at Module.require (node:internal/modules/cjs/loader:1061:19)\n at require (node:internal/modules/cjs/helpers:103:18)\n at Object.<anonymous> (C:\\Note-app-Backend\\Routes\\note.js:3:14)\n at Module._compile (node:internal/modules/cjs/loader:1159:14)","os":{"loadavg":[0,0,0],"uptime":155638},"process":{"argv":["C:\\Program Files\\nodejs\\node.exe","C:\\Note-app-Backend\\app.js"],"cwd":"C:\\Note-app-Backend","execPath":"C:\\Program Files\\nodejs\\node.exe","gid":null,"memoryUsage":{"arrayBuffers":116969,"external":847972,"heapTotal":19222528,"heapUsed":11620320,"rss":42401792},"pid":11048,"uid":null,"version":"v18.12.1"},"stack":"C:\\Note-app-Backend\\middleware\\auth.js:11\n const user = await User.findOne({_id: decoded._id});\n ^^^^^\n\nSyntaxError: await is only valid in async functions and the top level bodies of modules\n at Object.compileFunction (node:vm:360:18)\n at wrapSafe (node:internal/modules/cjs/loader:1088:15)\n at Module._compile (node:internal/modules/cjs/loader:1123:27)\n at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)\n at Module.load (node:internal/modules/cjs/loader:1037:32)\n at Module._load (node:internal/modules/cjs/loader:878:12)\n at Module.require (node:internal/modules/cjs/loader:1061:19)\n at require (node:internal/modules/cjs/helpers:103:18)\n at Object.<anonymous> (C:\\Note-app-Backend\\Routes\\note.js:3:14)\n at Module._compile (node:internal/modules/cjs/loader:1159:14)","trace":[{"column":18,"file":"node:vm","function":"Object.compileFunction","line":360,"method":"compileFunction","native":false},{"column":15,"file":"node:internal/modules/cjs/loader","function":"wrapSafe","line":1088,"method":null,"native":false},{"column":27,"file":"node:internal/modules/cjs/loader","function":"Module._compile","line":1123,"method":"_compile","native":false},{"column":10,"file":"node:internal/modules/cjs/loader","function":"Module._extensions..js","line":1213,"method":".js","native":false},{"column":32,"file":"node:internal/modules/cjs/loader","function":"Module.load","line":1037,"method":"load","native":false},{"column":12,"file":"node:internal/modules/cjs/loader","function":"Module._load","line":878,"method":"_load","native":false},{"column":19,"file":"node:internal/modules/cjs/loader","function":"Module.require","line":1061,"method":"require","native":false},{"column":18,"file":"node:internal/modules/cjs/helpers","function":"require","line":103,"method":null,"native":false},{"column":14,"file":"C:\\Note-app-Backend\\Routes\\note.js","function":null,"line":3,"method":null,"native":false},{"column":14,"file":"node:internal/modules/cjs/loader","function":"Module._compile","line":1159,"method":"_compile","native":false}]}
{"date":"Mon Aug 07 2023 11:27:47 GMT+0100 (West Africa Standard Time)","error":{},"exception":true,"level":"error","message":"uncaughtException: Unexpected token 'catch'\nC:\\Note-app-Backend\\middleware\\auth.js:29\n } catch (ex) {\n ^^^^^\n\nSyntaxError: Unexpected token 'catch'\n at Object.compileFunction (node:vm:360:18)\n at wrapSafe (node:internal/modules/cjs/loader:1088:15)\n at Module._compile (node:internal/modules/cjs/loader:1123:27)\n at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)\n at Module.load (node:internal/modules/cjs/loader:1037:32)\n at Module._load (node:internal/modules/cjs/loader:878:12)\n at Module.require (node:internal/modules/cjs/loader:1061:19)\n at require (node:internal/modules/cjs/helpers:103:18)\n at Object.<anonymous> (C:\\Note-app-Backend\\Routes\\note.js:3:14)\n at Module._compile (node:internal/modules/cjs/loader:1159:14)","os":{"loadavg":[0,0,0],"uptime":155669},"process":{"argv":["C:\\Program Files\\nodejs\\node.exe","C:\\Note-app-Backend\\app.js"],"cwd":"C:\\Note-app-Backend","execPath":"C:\\Program Files\\nodejs\\node.exe","gid":null,"memoryUsage":{"arrayBuffers":116969,"external":847972,"heapTotal":18960384,"heapUsed":11626408,"rss":42172416},"pid":6896,"uid":null,"version":"v18.12.1"},"stack":"C:\\Note-app-Backend\\middleware\\auth.js:29\n } catch (ex) {\n ^^^^^\n\nSyntaxError: Unexpected token 'catch'\n at Object.compileFunction (node:vm:360:18)\n at wrapSafe (node:internal/modules/cjs/loader:1088:15)\n at Module._compile (node:internal/modules/cjs/loader:1123:27)\n at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)\n at Module.load (node:internal/modules/cjs/loader:1037:32)\n at Module._load (node:internal/modules/cjs/loader:878:12)\n at Module.require (node:internal/modules/cjs/loader:1061:19)\n at require (node:internal/modules/cjs/helpers:103:18)\n at Object.<anonymous> (C:\\Note-app-Backend\\Routes\\note.js:3:14)\n at Module._compile (node:internal/modules/cjs/loader:1159:14)","trace":[{"column":18,"file":"node:vm","function":"Object.compileFunction","line":360,"method":"compileFunction","native":false},{"column":15,"file":"node:internal/modules/cjs/loader","function":"wrapSafe","line":1088,"method":null,"native":false},{"column":27,"file":"node:internal/modules/cjs/loader","function":"Module._compile","line":1123,"method":"_compile","native":false},{"column":10,"file":"node:internal/modules/cjs/loader","function":"Module._extensions..js","line":1213,"method":".js","native":false},{"column":32,"file":"node:internal/modules/cjs/loader","function":"Module.load","line":1037,"method":"load","native":false},{"column":12,"file":"node:internal/modules/cjs/loader","function":"Module._load","line":878,"method":"_load","native":false},{"column":19,"file":"node:internal/modules/cjs/loader","function":"Module.require","line":1061,"method":"require","native":false},{"column":18,"file":"node:internal/modules/cjs/helpers","function":"require","line":103,"method":null,"native":false},{"column":14,"file":"C:\\Note-app-Backend\\Routes\\note.js","function":null,"line":3,"method":null,"native":false},{"column":14,"file":"node:internal/modules/cjs/loader","function":"Module._compile","line":1159,"method":"_compile","native":false}]}
{"date":"Mon Aug 07 2023 11:30:02 GMT+0100 (West Africa Standard Time)","error":{},"exception":true,"level":"error","message":"uncaughtException: Unexpected token ')'\nC:\\Note-app-Backend\\middleware\\author.js:2\n console.log(req.user.)\n ^\n\nSyntaxError: Unexpected token ')'\n at Object.compileFunction (node:vm:360:18)\n at wrapSafe (node:internal/modules/cjs/loader:1088:15)\n at Module._compile (node:internal/modules/cjs/loader:1123:27)\n at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)\n at Module.load (node:internal/modules/cjs/loader:1037:32)\n at Module._load (node:internal/modules/cjs/loader:878:12)\n at Module.require (node:internal/modules/cjs/loader:1061:19)\n at require (node:internal/modules/cjs/helpers:103:18)\n at Object.<anonymous> (C:\\Note-app-Backend\\Routes\\note.js:2:16)\n at Module._compile (node:internal/modules/cjs/loader:1159:14)","os":{"loadavg":[0,0,0],"uptime":155804},"process":{"argv":["C:\\Program Files\\nodejs\\node.exe","C:\\Note-app-Backend\\app.js"],"cwd":"C:\\Note-app-Backend","execPath":"C:\\Program Files\\nodejs\\node.exe","gid":null,"memoryUsage":{"arrayBuffers":116969,"external":847972,"heapTotal":18960384,"heapUsed":11750776,"rss":42274816},"pid":14908,"uid":null,"version":"v18.12.1"},"stack":"C:\\Note-app-Backend\\middleware\\author.js:2\n console.log(req.user.)\n ^\n\nSyntaxError: Unexpected token ')'\n at Object.compileFunction (node:vm:360:18)\n at wrapSafe (node:internal/modules/cjs/loader:1088:15)\n at Module._compile (node:internal/modules/cjs/loader:1123:27)\n at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)\n at Module.load (node:internal/modules/cjs/loader:1037:32)\n at Module._load (node:internal/modules/cjs/loader:878:12)\n at Module.require (node:internal/modules/cjs/loader:1061:19)\n at require (node:internal/modules/cjs/helpers:103:18)\n at Object.<anonymous> (C:\\Note-app-Backend\\Routes\\note.js:2:16)\n at Module._compile (node:internal/modules/cjs/loader:1159:14)","trace":[{"column":18,"file":"node:vm","function":"Object.compileFunction","line":360,"method":"compileFunction","native":false},{"column":15,"file":"node:internal/modules/cjs/loader","function":"wrapSafe","line":1088,"method":null,"native":false},{"column":27,"file":"node:internal/modules/cjs/loader","function":"Module._compile","line":1123,"method":"_compile","native":false},{"column":10,"file":"node:internal/modules/cjs/loader","function":"Module._extensions..js","line":1213,"method":".js","native":false},{"column":32,"file":"node:internal/modules/cjs/loader","function":"Module.load","line":1037,"method":"load","native":false},{"column":12,"file":"node:internal/modules/cjs/loader","function":"Module._load","line":878,"method":"_load","native":false},{"column":19,"file":"node:internal/modules/cjs/loader","function":"Module.require","line":1061,"method":"require","native":false},{"column":18,"file":"node:internal/modules/cjs/helpers","function":"require","line":103,"method":null,"native":false},{"column":16,"file":"C:\\Note-app-Backend\\Routes\\note.js","function":null,"line":2,"method":null,"native":false},{"column":14,"file":"node:internal/modules/cjs/loader","function":"Module._compile","line":1159,"method":"_compile","native":false}]}
{"date":"Mon Aug 07 2023 11:30:49 GMT+0100 (West Africa Standard Time)","error":{},"exception":true,"level":"error","message":"uncaughtException: typ is not defined\nReferenceError: typ is not defined\n at Object.<anonymous> (C:\\Note-app-Backend\\Model\\users.js:37:9)\n at Module._compile (node:internal/modules/cjs/loader:1159:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)\n at Module.load (node:internal/modules/cjs/loader:1037:32)\n at Module._load (node:internal/modules/cjs/loader:878:12)\n at Module.require (node:internal/modules/cjs/loader:1061:19)\n at require (node:internal/modules/cjs/helpers:103:18)\n at Object.<anonymous> (C:\\Note-app-Backend\\middleware\\auth.js:3:18)\n at Module._compile (node:internal/modules/cjs/loader:1159:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)","os":{"loadavg":[0,0,0],"uptime":155851},"process":{"argv":["C:\\Program Files\\nodejs\\node.exe","C:\\Note-app-Backend\\app.js"],"cwd":"C:\\Note-app-Backend","execPath":"C:\\Program Files\\nodejs\\node.exe","gid":null,"memoryUsage":{"arrayBuffers":18449111,"external":19360672,"heapTotal":39124992,"heapUsed":28667808,"rss":70504448},"pid":11808,"uid":null,"version":"v18.12.1"},"stack":"ReferenceError: typ is not defined\n at Object.<anonymous> (C:\\Note-app-Backend\\Model\\users.js:37:9)\n at Module._compile (node:internal/modules/cjs/loader:1159:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)\n at Module.load (node:internal/modules/cjs/loader:1037:32)\n at Module._load (node:internal/modules/cjs/loader:878:12)\n at Module.require (node:internal/modules/cjs/loader:1061:19)\n at require (node:internal/modules/cjs/helpers:103:18)\n at Object.<anonymous> (C:\\Note-app-Backend\\middleware\\auth.js:3:18)\n at Module._compile (node:internal/modules/cjs/loader:1159:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)","trace":[{"column":9,"file":"C:\\Note-app-Backend\\Model\\users.js","function":null,"line":37,"method":null,"native":false},{"column":14,"file":"node:internal/modules/cjs/loader","function":"Module._compile","line":1159,"method":"_compile","native":false},{"column":10,"file":"node:internal/modules/cjs/loader","function":"Module._extensions..js","line":1213,"method":".js","native":false},{"column":32,"file":"node:internal/modules/cjs/loader","function":"Module.load","line":1037,"method":"load","native":false},{"column":12,"file":"node:internal/modules/cjs/loader","function":"Module._load","line":878,"method":"_load","native":false},{"column":19,"file":"node:internal/modules/cjs/loader","function":"Module.require","line":1061,"method":"require","native":false},{"column":18,"file":"node:internal/modules/cjs/helpers","function":"require","line":103,"method":null,"native":false},{"column":18,"file":"C:\\Note-app-Backend\\middleware\\auth.js","function":null,"line":3,"method":null,"native":false},{"column":14,"file":"node:internal/modules/cjs/loader","function":"Module._compile","line":1159,"method":"_compile","native":false},{"column":10,"file":"node:internal/modules/cjs/loader","function":"Module._extensions..js","line":1213,"method":".js","native":false}]}
{"date":"Mon Aug 07 2023 11:30:51 GMT+0100 (West Africa Standard Time)","error":{},"exception":true,"level":"error","message":"uncaughtException: B is not defined\nReferenceError: B is not defined\n at Object.<anonymous> (C:\\Note-app-Backend\\Model\\users.js:37:15)\n at Module._compile (node:internal/modules/cjs/loader:1159:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)\n at Module.load (node:internal/modules/cjs/loader:1037:32)\n at Module._load (node:internal/modules/cjs/loader:878:12)\n at Module.require (node:internal/modules/cjs/loader:1061:19)\n at require (node:internal/modules/cjs/helpers:103:18)\n at Object.<anonymous> (C:\\Note-app-Backend\\middleware\\auth.js:3:18)\n at Module._compile (node:internal/modules/cjs/loader:1159:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)","os":{"loadavg":[0,0,0],"uptime":155854},"process":{"argv":["C:\\Program Files\\nodejs\\node.exe","C:\\Note-app-Backend\\app.js"],"cwd":"C:\\Note-app-Backend","execPath":"C:\\Program Files\\nodejs\\node.exe","gid":null,"memoryUsage":{"arrayBuffers":18408351,"external":19319912,"heapTotal":38862848,"heapUsed":28409800,"rss":70381568},"pid":4424,"uid":null,"version":"v18.12.1"},"stack":"ReferenceError: B is not defined\n at Object.<anonymous> (C:\\Note-app-Backend\\Model\\users.js:37:15)\n at Module._compile (node:internal/modules/cjs/loader:1159:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)\n at Module.load (node:internal/modules/cjs/loader:1037:32)\n at Module._load (node:internal/modules/cjs/loader:878:12)\n at Module.require (node:internal/modules/cjs/loader:1061:19)\n at require (node:internal/modules/cjs/helpers:103:18)\n at Object.<anonymous> (C:\\Note-app-Backend\\middleware\\auth.js:3:18)\n at Module._compile (node:internal/modules/cjs/loader:1159:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)","trace":[{"column":15,"file":"C:\\Note-app-Backend\\Model\\users.js","function":null,"line":37,"method":null,"native":false},{"column":14,"file":"node:internal/modules/cjs/loader","function":"Module._compile","line":1159,"method":"_compile","native":false},{"column":10,"file":"node:internal/modules/cjs/loader","function":"Module._extensions..js","line":1213,"method":".js","native":false},{"column":32,"file":"node:internal/modules/cjs/loader","function":"Module.load","line":1037,"method":"load","native":false},{"column":12,"file":"node:internal/modules/cjs/loader","function":"Module._load","line":878,"method":"_load","native":false},{"column":19,"file":"node:internal/modules/cjs/loader","function":"Module.require","line":1061,"method":"require","native":false},{"column":18,"file":"node:internal/modules/cjs/helpers","function":"require","line":103,"method":null,"native":false},{"column":18,"file":"C:\\Note-app-Backend\\middleware\\auth.js","function":null,"line":3,"method":null,"native":false},{"column":14,"file":"node:internal/modules/cjs/loader","function":"Module._compile","line":1159,"method":"_compile","native":false},{"column":10,"file":"node:internal/modules/cjs/loader","function":"Module._extensions..js","line":1213,"method":".js","native":false}]}