GIF89a
Caught an error: ApiError: Invalid OTP
at file:///home/viralhoga/game_viralhoga_com/src/controllers/userController.js:439:15
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
statusCode: 400,
data: null,
success: false,
errors: []
}
Caught an error: ApiError: User not registered
at file:///home/viralhoga/game_viralhoga_com/src/controllers/userController.js:445:19
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
statusCode: 400,
data: null,
success: false,
errors: []
}
Error adding AppSetting: TypeError: Cannot read properties of null (reading 'appVersion')
at file:///home/viralhoga/game_viralhoga_com/src/controllers/settingController.js:33:32
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Caught an error: ApiError: Error adding AppSetting:TypeError: Cannot read properties of null (reading 'appVersion')
at file:///home/viralhoga/game_viralhoga_com/src/controllers/settingController.js:46:15
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
statusCode: 500,
data: null,
success: false,
errors: []
}
Error adding AppSetting: TypeError: Cannot read properties of null (reading 'appVersion')
at file:///home/viralhoga/game_viralhoga_com/src/controllers/settingController.js:33:32
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Caught an error: ApiError: Error adding AppSetting:TypeError: Cannot read properties of null (reading 'appVersion')
at file:///home/viralhoga/game_viralhoga_com/src/controllers/settingController.js:46:15
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
statusCode: 500,
data: null,
success: false,
errors: []
}
Caught an error: ApiError: User not registered
at file:///home/viralhoga/game_viralhoga_com/src/controllers/userController.js:445:19
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
statusCode: 400,
data: null,
success: false,
errors: []
}
file:///home/viralhoga/glambooth_viralhoga_com/src/routes/user.routes.js:2
import { createUser, getUserById, getUsers, updateUser } from "../controllers/user.controller.js";
^^^^^^^^^^
SyntaxError: The requested module '../controllers/user.controller.js' does not provide an export named 'updateUser'
at ModuleJob._instantiate (node:internal/modules/esm/module_job:146:21)
at async ModuleJob.run (node:internal/modules/esm/module_job:229:5)
at async ModuleLoader.import (node:internal/modules/esm/loader:473:24)
file:///home/viralhoga/glambooth_viralhoga_com/src/routes/user.routes.js:2
import { createUser, getUserById, getUsers, updateUser } from "../controllers/user.controller.js";
^^^^^^^^^^
SyntaxError: The requested module '../controllers/user.controller.js' does not provide an export named 'updateUser'
at ModuleJob._instantiate (node:internal/modules/esm/module_job:146:21)
at async ModuleJob.run (node:internal/modules/esm/module_job:229:5)
at async ModuleLoader.import (node:internal/modules/esm/loader:473:24)
file:///home/viralhoga/glambooth_viralhoga_com/src/routes/user.routes.js:2
import { createUser, getUserById, getUsers, updateUser } from "../controllers/user.controller.js";
^^^^^^^^^^
SyntaxError: The requested module '../controllers/user.controller.js' does not provide an export named 'updateUser'
at ModuleJob._instantiate (node:internal/modules/esm/module_job:146:21)
at async ModuleJob.run (node:internal/modules/esm/module_job:229:5)
at async ModuleLoader.import (node:internal/modules/esm/loader:473:24)
Error: listen EADDRINUSE: address already in use :::7771
at Server.setupListenHandle [as _listen2] (node:net:1908:16)
at listenInCluster (node:net:1965:12)
at Server.listen (node:net:2067:7)
at Function.listen (/home/viralhoga/glambooth_viralhoga_com/node_modules/express/lib/application.js:635:24)
at file:///home/viralhoga/glambooth_viralhoga_com/src/index.js:18:9
at ModuleJob.run (node:internal/modules/esm/module_job:234:25)
at async ModuleLoader.import (node:internal/modules/esm/loader:473:24) {
code: 'EADDRINUSE',
errno: -98,
syscall: 'listen',
address: '::',
port: 7771
}
Error: listen EADDRINUSE: address already in use :::7771
at Server.setupListenHandle [as _listen2] (node:net:1908:16)
at listenInCluster (node:net:1965:12)
at Server.listen (node:net:2067:7)
at Function.listen (/home/viralhoga/glambooth_viralhoga_com/node_modules/express/lib/application.js:635:24)
at file:///home/viralhoga/glambooth_viralhoga_com/src/index.js:18:9
at ModuleJob.run (node:internal/modules/esm/module_job:234:25)
at async ModuleLoader.import (node:internal/modules/esm/loader:473:24) {
code: 'EADDRINUSE',
errno: -98,
syscall: 'listen',
address: '::',
port: 7771
}
Error: listen EADDRINUSE: address already in use :::7771
at Server.setupListenHandle [as _listen2] (node:net:1908:16)
at listenInCluster (node:net:1965:12)
at Server.listen (node:net:2067:7)
at Function.listen (/home/viralhoga/glambooth_viralhoga_com/node_modules/express/lib/application.js:635:24)
at file:///home/viralhoga/glambooth_viralhoga_com/src/index.js:18:9
at ModuleJob.run (node:internal/modules/esm/module_job:234:25)
at async ModuleLoader.import (node:internal/modules/esm/loader:473:24) {
code: 'EADDRINUSE',
errno: -98,
syscall: 'listen',
address: '::',
port: 7771
}
Error: listen EADDRINUSE: address already in use :::7771
at Server.setupListenHandle [as _listen2] (node:net:1908:16)
at listenInCluster (node:net:1965:12)
at Server.listen (node:net:2067:7)
at Function.listen (/home/viralhoga/glambooth_viralhoga_com/node_modules/express/lib/application.js:635:24)
at file:///home/viralhoga/glambooth_viralhoga_com/src/index.js:18:9
at ModuleJob.run (node:internal/modules/esm/module_job:234:25)
at async ModuleLoader.import (node:internal/modules/esm/loader:473:24) {
code: 'EADDRINUSE',
errno: -98,
syscall: 'listen',
address: '::',
port: 7771
}
Error: listen EADDRINUSE: address already in use :::7771
at Server.setupListenHandle [as _listen2] (node:net:1908:16)
at listenInCluster (node:net:1965:12)
at Server.listen (node:net:2067:7)
at Function.listen (/home/viralhoga/glambooth_viralhoga_com/node_modules/express/lib/application.js:635:24)
at file:///home/viralhoga/glambooth_viralhoga_com/src/index.js:18:9
at ModuleJob.run (node:internal/modules/esm/module_job:234:25)
at async ModuleLoader.import (node:internal/modules/esm/loader:473:24) {
code: 'EADDRINUSE',
errno: -98,
syscall: 'listen',
address: '::',
port: 7771
}
Error: listen EADDRINUSE: address already in use :::7771
at Server.setupListenHandle [as _listen2] (node:net:1908:16)
at listenInCluster (node:net:1965:12)
at Server.listen (node:net:2067:7)
at Function.listen (/home/viralhoga/glambooth_viralhoga_com/node_modules/express/lib/application.js:635:24)
at file:///home/viralhoga/glambooth_viralhoga_com/src/index.js:18:9
at ModuleJob.run (node:internal/modules/esm/module_job:234:25)
at async ModuleLoader.import (node:internal/modules/esm/loader:473:24) {
code: 'EADDRINUSE',
errno: -98,
syscall: 'listen',
address: '::',
port: 7771
}
Error: listen EADDRINUSE: address already in use :::7771
at Server.setupListenHandle [as _listen2] (node:net:1908:16)
at listenInCluster (node:net:1965:12)
at Server.listen (node:net:2067:7)
at Function.listen (/home/viralhoga/glambooth_viralhoga_com/node_modules/express/lib/application.js:635:24)
at file:///home/viralhoga/glambooth_viralhoga_com/src/index.js:18:9
at ModuleJob.run (node:internal/modules/esm/module_job:234:25)
at async ModuleLoader.import (node:internal/modules/esm/loader:473:24) {
code: 'EADDRINUSE',
errno: -98,
syscall: 'listen',
address: '::',
port: 7771
}
Error: listen EADDRINUSE: address already in use :::7771
at Server.setupListenHandle [as _listen2] (node:net:1908:16)
at listenInCluster (node:net:1965:12)
at Server.listen (node:net:2067:7)
at Function.listen (/home/viralhoga/glambooth_viralhoga_com/node_modules/express/lib/application.js:635:24)
at file:///home/viralhoga/glambooth_viralhoga_com/src/index.js:18:9
at ModuleJob.run (node:internal/modules/esm/module_job:234:25)
at async ModuleLoader.import (node:internal/modules/esm/loader:473:24) {
code: 'EADDRINUSE',
errno: -98,
syscall: 'listen',
address: '::',
port: 7771
}
Error: listen EADDRINUSE: address already in use :::7771
at Server.setupListenHandle [as _listen2] (node:net:1908:16)
at listenInCluster (node:net:1965:12)
at Server.listen (node:net:2067:7)
at Function.listen (/home/viralhoga/glambooth_viralhoga_com/node_modules/express/lib/application.js:635:24)
at file:///home/viralhoga/glambooth_viralhoga_com/src/index.js:18:9
at ModuleJob.run (node:internal/modules/esm/module_job:234:25)
at async ModuleLoader.import (node:internal/modules/esm/loader:473:24) {
code: 'EADDRINUSE',
errno: -98,
syscall: 'listen',
address: '::',
port: 7771
}
Error: listen EADDRINUSE: address already in use :::7771
at Server.setupListenHandle [as _listen2] (node:net:1908:16)
at listenInCluster (node:net:1965:12)
at Server.listen (node:net:2067:7)
at Function.listen (/home/viralhoga/glambooth_viralhoga_com/node_modules/express/lib/application.js:635:24)
at file:///home/viralhoga/glambooth_viralhoga_com/src/index.js:18:9
at ModuleJob.run (node:internal/modules/esm/module_job:234:25)
at async ModuleLoader.import (node:internal/modules/esm/loader:473:24) {
code: 'EADDRINUSE',
errno: -98,
syscall: 'listen',
address: '::',
port: 7771
}
Error: listen EADDRINUSE: address already in use :::7771
at Server.setupListenHandle [as _listen2] (node:net:1908:16)
at listenInCluster (node:net:1965:12)
at Server.listen (node:net:2067:7)
at Function.listen (/home/viralhoga/glambooth_viralhoga_com/node_modules/express/lib/application.js:635:24)
at file:///home/viralhoga/glambooth_viralhoga_com/src/index.js:18:9
at ModuleJob.run (node:internal/modules/esm/module_job:234:25)
at async ModuleLoader.import (node:internal/modules/esm/loader:473:24) {
code: 'EADDRINUSE',
errno: -98,
syscall: 'listen',
address: '::',
port: 7771
}
Error: listen EADDRINUSE: address already in use :::7771
at Server.setupListenHandle [as _listen2] (node:net:1908:16)
at listenInCluster (node:net:1965:12)
at Server.listen (node:net:2067:7)
at Function.listen (/home/viralhoga/glambooth_viralhoga_com/node_modules/express/lib/application.js:635:24)
at file:///home/viralhoga/glambooth_viralhoga_com/src/index.js:18:9
at ModuleJob.run (node:internal/modules/esm/module_job:234:25)
at async ModuleLoader.import (node:internal/modules/esm/loader:473:24) {
code: 'EADDRINUSE',
errno: -98,
syscall: 'listen',
address: '::',
port: 7771
}
Error: listen EADDRINUSE: address already in use :::7771
at Server.setupListenHandle [as _listen2] (node:net:1908:16)
at listenInCluster (node:net:1965:12)
at Server.listen (node:net:2067:7)
at Function.listen (/home/viralhoga/glambooth_viralhoga_com/node_modules/express/lib/application.js:635:24)
at file:///home/viralhoga/glambooth_viralhoga_com/src/index.js:18:9
at ModuleJob.run (node:internal/modules/esm/module_job:234:25)
at async ModuleLoader.import (node:internal/modules/esm/loader:473:24) {
code: 'EADDRINUSE',
errno: -98,
syscall: 'listen',
address: '::',
port: 7771
}
Error: listen EADDRINUSE: address already in use :::7771
at Server.setupListenHandle [as _listen2] (node:net:1908:16)
at listenInCluster (node:net:1965:12)
at Server.listen (node:net:2067:7)
at Function.listen (/home/viralhoga/glambooth_viralhoga_com/node_modules/express/lib/application.js:635:24)
at file:///home/viralhoga/glambooth_viralhoga_com/src/index.js:18:9
at ModuleJob.run (node:internal/modules/esm/module_job:234:25)
at async ModuleLoader.import (node:internal/modules/esm/loader:473:24) {
code: 'EADDRINUSE',
errno: -98,
syscall: 'listen',
address: '::',
port: 7771
}
Error: listen EADDRINUSE: address already in use :::7771
at Server.setupListenHandle [as _listen2] (node:net:1908:16)
at listenInCluster (node:net:1965:12)
at Server.listen (node:net:2067:7)
at Function.listen (/home/viralhoga/glambooth_viralhoga_com/node_modules/express/lib/application.js:635:24)
at file:///home/viralhoga/glambooth_viralhoga_com/src/index.js:18:9
at ModuleJob.run (node:internal/modules/esm/module_job:234:25)
at async ModuleLoader.import (node:internal/modules/esm/loader:473:24) {
code: 'EADDRINUSE',
errno: -98,
syscall: 'listen',
address: '::',
port: 7771
}
Error: listen EADDRINUSE: address already in use :::7771
at Server.setupListenHandle [as _listen2] (node:net:1908:16)
at listenInCluster (node:net:1965:12)
at Server.listen (node:net:2067:7)
at Function.listen (/home/viralhoga/glambooth_viralhoga_com/node_modules/express/lib/application.js:635:24)
at file:///home/viralhoga/glambooth_viralhoga_com/src/index.js:18:9
at ModuleJob.run (node:internal/modules/esm/module_job:234:25)
at async ModuleLoader.import (node:internal/modules/esm/loader:473:24) {
code: 'EADDRINUSE',
errno: -98,
syscall: 'listen',
address: '::',
port: 7771
}
Error: listen EADDRINUSE: address already in use :::7771
at Server.setupListenHandle [as _listen2] (node:net:1908:16)
at listenInCluster (node:net:1965:12)
at Server.listen (node:net:2067:7)
at Function.listen (/home/viralhoga/glambooth_viralhoga_com/node_modules/express/lib/application.js:635:24)
at file:///home/viralhoga/glambooth_viralhoga_com/src/index.js:18:9
at ModuleJob.run (node:internal/modules/esm/module_job:234:25)
at async ModuleLoader.import (node:internal/modules/esm/loader:473:24) {
code: 'EADDRINUSE',
errno: -98,
syscall: 'listen',
address: '::',
port: 7771
}
Error: listen EADDRINUSE: address already in use :::7771
at Server.setupListenHandle [as _listen2] (node:net:1908:16)
at listenInCluster (node:net:1965:12)
at Server.listen (node:net:2067:7)
at Function.listen (/home/viralhoga/glambooth_viralhoga_com/node_modules/express/lib/application.js:635:24)
at file:///home/viralhoga/glambooth_viralhoga_com/src/index.js:18:9
at ModuleJob.run (node:internal/modules/esm/module_job:234:25)
at async ModuleLoader.import (node:internal/modules/esm/loader:473:24) {
code: 'EADDRINUSE',
errno: -98,
syscall: 'listen',
address: '::',
port: 7771
}
Error: listen EADDRINUSE: address already in use :::7771
at Server.setupListenHandle [as _listen2] (node:net:1908:16)
at listenInCluster (node:net:1965:12)
at Server.listen (node:net:2067:7)
at Function.listen (/home/viralhoga/glambooth_viralhoga_com/node_modules/express/lib/application.js:635:24)
at file:///home/viralhoga/glambooth_viralhoga_com/src/index.js:18:9
at ModuleJob.run (node:internal/modules/esm/module_job:234:25)
at async ModuleLoader.import (node:internal/modules/esm/loader:473:24) {
code: 'EADDRINUSE',
errno: -98,
syscall: 'listen',
address: '::',
port: 7771
}
Error: listen EADDRINUSE: address already in use :::7771
at Server.setupListenHandle [as _listen2] (node:net:1908:16)
at listenInCluster (node:net:1965:12)
at Server.listen (node:net:2067:7)
at Function.listen (/home/viralhoga/glambooth_viralhoga_com/node_modules/express/lib/application.js:635:24)
at file:///home/viralhoga/glambooth_viralhoga_com/src/index.js:18:9
at ModuleJob.run (node:internal/modules/esm/module_job:234:25)
at async ModuleLoader.import (node:internal/modules/esm/loader:473:24) {
code: 'EADDRINUSE',
errno: -98,
syscall: 'listen',
address: '::',
port: 7771
}
Error: listen EADDRINUSE: address already in use :::7771
at Server.setupListenHandle [as _listen2] (node:net:1908:16)
at listenInCluster (node:net:1965:12)
at Server.listen (node:net:2067:7)
at Function.listen (/home/viralhoga/glambooth_viralhoga_com/node_modules/express/lib/application.js:635:24)
at file:///home/viralhoga/glambooth_viralhoga_com/src/index.js:18:9
at ModuleJob.run (node:internal/modules/esm/module_job:234:25)
at async ModuleLoader.import (node:internal/modules/esm/loader:473:24) {
code: 'EADDRINUSE',
errno: -98,
syscall: 'listen',
address: '::',
port: 7771
}
Error: listen EADDRINUSE: address already in use :::7771
at Server.setupListenHandle [as _listen2] (node:net:1908:16)
at listenInCluster (node:net:1965:12)
at Server.listen (node:net:2067:7)
at Function.listen (/home/viralhoga/glambooth_viralhoga_com/node_modules/express/lib/application.js:635:24)
at file:///home/viralhoga/glambooth_viralhoga_com/src/index.js:18:9
at ModuleJob.run (node:internal/modules/esm/module_job:234:25)
at async ModuleLoader.import (node:internal/modules/esm/loader:473:24) {
code: 'EADDRINUSE',
errno: -98,
syscall: 'listen',
address: '::',
port: 7771
}
Error: listen EADDRINUSE: address already in use :::7771
at Server.setupListenHandle [as _listen2] (node:net:1908:16)
at listenInCluster (node:net:1965:12)
at Server.listen (node:net:2067:7)
at Function.listen (/home/viralhoga/glambooth_viralhoga_com/node_modules/express/lib/application.js:635:24)
at file:///home/viralhoga/glambooth_viralhoga_com/src/index.js:18:9
at ModuleJob.run (node:internal/modules/esm/module_job:234:25)
at async ModuleLoader.import (node:internal/modules/esm/loader:473:24) {
code: 'EADDRINUSE',
errno: -98,
syscall: 'listen',
address: '::',
port: 7771
}
Error: listen EADDRINUSE: address already in use :::7771
at Server.setupListenHandle [as _listen2] (node:net:1908:16)
at listenInCluster (node:net:1965:12)
at Server.listen (node:net:2067:7)
at Function.listen (/home/viralhoga/glambooth_viralhoga_com/node_modules/express/lib/application.js:635:24)
at file:///home/viralhoga/glambooth_viralhoga_com/src/index.js:18:9
at ModuleJob.run (node:internal/modules/esm/module_job:234:25)
at async ModuleLoader.import (node:internal/modules/esm/loader:473:24) {
code: 'EADDRINUSE',
errno: -98,
syscall: 'listen',
address: '::',
port: 7771
}
Error: listen EADDRINUSE: address already in use :::7771
at Server.setupListenHandle [as _listen2] (node:net:1908:16)
at listenInCluster (node:net:1965:12)
at Server.listen (node:net:2067:7)
at Function.listen (/home/viralhoga/glambooth_viralhoga_com/node_modules/express/lib/application.js:635:24)
at file:///home/viralhoga/glambooth_viralhoga_com/src/index.js:18:9
at ModuleJob.run (node:internal/modules/esm/module_job:234:25)
at async ModuleLoader.import (node:internal/modules/esm/loader:473:24) {
code: 'EADDRINUSE',
errno: -98,
syscall: 'listen',
address: '::',
port: 7771
}
Error: listen EADDRINUSE: address already in use :::7771
at Server.setupListenHandle [as _listen2] (node:net:1908:16)
at listenInCluster (node:net:1965:12)
at Server.listen (node:net:2067:7)
at Function.listen (/home/viralhoga/glambooth_viralhoga_com/node_modules/express/lib/application.js:635:24)
at file:///home/viralhoga/glambooth_viralhoga_com/src/index.js:18:9
at ModuleJob.run (node:internal/modules/esm/module_job:234:25)
at async ModuleLoader.import (node:internal/modules/esm/loader:473:24) {
code: 'EADDRINUSE',
errno: -98,
syscall: 'listen',
address: '::',
port: 7771
}
Error: listen EADDRINUSE: address already in use :::7771
at Server.setupListenHandle [as _listen2] (node:net:1908:16)
at listenInCluster (node:net:1965:12)
at Server.listen (node:net:2067:7)
at Function.listen (/home/viralhoga/glambooth_viralhoga_com/node_modules/express/lib/application.js:635:24)
at file:///home/viralhoga/glambooth_viralhoga_com/src/index.js:18:9
at ModuleJob.run (node:internal/modules/esm/module_job:234:25)
at async ModuleLoader.import (node:internal/modules/esm/loader:473:24) {
code: 'EADDRINUSE',
errno: -98,
syscall: 'listen',
address: '::',
port: 7771
}
Error: listen EADDRINUSE: address already in use :::7771
at Server.setupListenHandle [as _listen2] (node:net:1908:16)
at listenInCluster (node:net:1965:12)
at Server.listen (node:net:2067:7)
at Function.listen (/home/viralhoga/glambooth_viralhoga_com/node_modules/express/lib/application.js:635:24)
at file:///home/viralhoga/glambooth_viralhoga_com/src/index.js:18:9
at ModuleJob.run (node:internal/modules/esm/module_job:234:25)
at async ModuleLoader.import (node:internal/modules/esm/loader:473:24) {
code: 'EADDRINUSE',
errno: -98,
syscall: 'listen',
address: '::',
port: 7771
}
Error: listen EADDRINUSE: address already in use :::7771
at Server.setupListenHandle [as _listen2] (node:net:1908:16)
at listenInCluster (node:net:1965:12)
at Server.listen (node:net:2067:7)
at Function.listen (/home/viralhoga/glambooth_viralhoga_com/node_modules/express/lib/application.js:635:24)
at file:///home/viralhoga/glambooth_viralhoga_com/src/index.js:18:9
at ModuleJob.run (node:internal/modules/esm/module_job:234:25)
at async ModuleLoader.import (node:internal/modules/esm/loader:473:24) {
code: 'EADDRINUSE',
errno: -98,
syscall: 'listen',
address: '::',
port: 7771
}
Error: listen EADDRINUSE: address already in use :::7771
at Server.setupListenHandle [as _listen2] (node:net:1908:16)
at listenInCluster (node:net:1965:12)
at Server.listen (node:net:2067:7)
at Function.listen (/home/viralhoga/glambooth_viralhoga_com/node_modules/express/lib/application.js:635:24)
at file:///home/viralhoga/glambooth_viralhoga_com/src/index.js:18:9
at ModuleJob.run (node:internal/modules/esm/module_job:234:25)
at async ModuleLoader.import (node:internal/modules/esm/loader:473:24) {
code: 'EADDRINUSE',
errno: -98,
syscall: 'listen',
address: '::',
port: 7771
}
Error: listen EADDRINUSE: address already in use :::7771
at Server.setupListenHandle [as _listen2] (node:net:1908:16)
at listenInCluster (node:net:1965:12)
at Server.listen (node:net:2067:7)
at Function.listen (/home/viralhoga/glambooth_viralhoga_com/node_modules/express/lib/application.js:635:24)
at file:///home/viralhoga/glambooth_viralhoga_com/src/index.js:18:9
at ModuleJob.run (node:internal/modules/esm/module_job:234:25)
at async ModuleLoader.import (node:internal/modules/esm/loader:473:24) {
code: 'EADDRINUSE',
errno: -98,
syscall: 'listen',
address: '::',
port: 7771
}
Error: listen EADDRINUSE: address already in use :::7771
at Server.setupListenHandle [as _listen2] (node:net:1908:16)
at listenInCluster (node:net:1965:12)
at Server.listen (node:net:2067:7)
at Function.listen (/home/viralhoga/glambooth_viralhoga_com/node_modules/express/lib/application.js:635:24)
at file:///home/viralhoga/glambooth_viralhoga_com/src/index.js:18:9
at ModuleJob.run (node:internal/modules/esm/module_job:234:25)
at async ModuleLoader.import (node:internal/modules/esm/loader:473:24) {
code: 'EADDRINUSE',
errno: -98,
syscall: 'listen',
address: '::',
port: 7771
}
Error: listen EADDRINUSE: address already in use :::7771
at Server.setupListenHandle [as _listen2] (node:net:1908:16)
at listenInCluster (node:net:1965:12)
at Server.listen (node:net:2067:7)
at Function.listen (/home/viralhoga/glambooth_viralhoga_com/node_modules/express/lib/application.js:635:24)
at file:///home/viralhoga/glambooth_viralhoga_com/src/index.js:18:9
at ModuleJob.run (node:internal/modules/esm/module_job:234:25)
at async ModuleLoader.import (node:internal/modules/esm/loader:473:24) {
code: 'EADDRINUSE',
errno: -98,
syscall: 'listen',
address: '::',
port: 7771
}
Error adding Biding: Error: Biding validation failed: gameType: `TRIPLE PANA` is not a valid enum value for path `gameType`.
at ValidationError.inspect (/home/viralhoga/game_viralhoga_com/node_modules/mongoose/lib/error/validation.js:50:26)
at formatValue (node:internal/util/inspect:809:19)
at inspect (node:internal/util/inspect:368:10)
at formatWithOptionsInternal (node:internal/util/inspect:2307:40)
at formatWithOptions (node:internal/util/inspect:2169:10)
at console.value (node:internal/console/constructor:350:14)
at console.warn (node:internal/console/constructor:383:61)
at file:///home/viralhoga/game_viralhoga_com/src/controllers/bidController.js:116:17
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
errors: {
gameType: ValidatorError: `TRIPLE PANA` is not a valid enum value for path `gameType`.
at validate (/home/viralhoga/game_viralhoga_com/node_modules/mongoose/lib/schemaType.js:1364:13)
at SchemaType.doValidate (/home/viralhoga/game_viralhoga_com/node_modules/mongoose/lib/schemaType.js:1348:7)
at /home/viralhoga/game_viralhoga_com/node_modules/mongoose/lib/document.js:2959:18
at process.processTicksAndRejections (node:internal/process/task_queues:77:11) {
properties: [Object],
kind: 'enum',
path: 'gameType',
value: 'TRIPLE PANA',
reason: undefined,
[Symbol(mongoose#validatorError)]: true
}
},
_message: 'Biding validation failed'
}
Caught an error: ApiError: Error adding Biding:ValidationError: gameType: `TRIPLE PANA` is not a valid enum value for path `gameType`.
at file:///home/viralhoga/game_viralhoga_com/src/controllers/bidController.js:117:15
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
statusCode: 500,
data: null,
success: false,
errors: []
}
Error adding Biding: Error: Biding validation failed: gameType: `TRIPLE PANA` is not a valid enum value for path `gameType`.
at ValidationError.inspect (/home/viralhoga/game_viralhoga_com/node_modules/mongoose/lib/error/validation.js:50:26)
at formatValue (node:internal/util/inspect:809:19)
at inspect (node:internal/util/inspect:368:10)
at formatWithOptionsInternal (node:internal/util/inspect:2307:40)
at formatWithOptions (node:internal/util/inspect:2169:10)
at console.value (node:internal/console/constructor:350:14)
at console.warn (node:internal/console/constructor:383:61)
at file:///home/viralhoga/game_viralhoga_com/src/controllers/bidController.js:116:17
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
errors: {
gameType: ValidatorError: `TRIPLE PANA` is not a valid enum value for path `gameType`.
at validate (/home/viralhoga/game_viralhoga_com/node_modules/mongoose/lib/schemaType.js:1364:13)
at SchemaType.doValidate (/home/viralhoga/game_viralhoga_com/node_modules/mongoose/lib/schemaType.js:1348:7)
at /home/viralhoga/game_viralhoga_com/node_modules/mongoose/lib/document.js:2959:18
at process.processTicksAndRejections (node:internal/process/task_queues:77:11) {
properties: [Object],
kind: 'enum',
path: 'gameType',
value: 'TRIPLE PANA',
reason: undefined,
[Symbol(mongoose#validatorError)]: true
}
},
_message: 'Biding validation failed'
}
Caught an error: ApiError: Error adding Biding:ValidationError: gameType: `TRIPLE PANA` is not a valid enum value for path `gameType`.
at file:///home/viralhoga/game_viralhoga_com/src/controllers/bidController.js:117:15
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
statusCode: 500,
data: null,
success: false,
errors: []
}
Caught an error: ApiError: User not registered
at file:///home/viralhoga/game_viralhoga_com/src/controllers/userController.js:445:19
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
statusCode: 400,
data: null,
success: false,
errors: []
}
Caught an error: ApiError: User does not exist
at file:///home/viralhoga/game_viralhoga_com/src/controllers/userController.js:611:15
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
statusCode: 404,
data: null,
success: false,
errors: []
}
Caught an error: ApiError: User does not exist
at file:///home/viralhoga/game_viralhoga_com/src/controllers/userController.js:611:15
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
statusCode: 404,
data: null,
success: false,
errors: []
}
Caught an error: ApiError: Invalid user credentials
at file:///home/viralhoga/game_viralhoga_com/src/controllers/userController.js:495:15
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
statusCode: 401,
data: null,
success: false,
errors: []
}
Caught an error: ApiError: Invalid user credentials
at file:///home/viralhoga/game_viralhoga_com/src/controllers/userController.js:495:15
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
statusCode: 401,
data: null,
success: false,
errors: []
}
Caught an error: ApiError: Invalid user credentials
at file:///home/viralhoga/game_viralhoga_com/src/controllers/userController.js:495:15
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
statusCode: 401,
data: null,
success: false,
errors: []
}
Caught an error: ApiError: User does not exist
at file:///home/viralhoga/game_viralhoga_com/src/controllers/userController.js:611:15
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
statusCode: 404,
data: null,
success: false,
errors: []
}
Error adding fund: Error: Transaction validation failed: transactionId: Path `transactionId` is required.
at ValidationError.inspect (/home/viralhoga/game_viralhoga_com/node_modules/mongoose/lib/error/validation.js:50:26)
at formatValue (node:internal/util/inspect:809:19)
at inspect (node:internal/util/inspect:368:10)
at formatWithOptionsInternal (node:internal/util/inspect:2307:40)
at formatWithOptions (node:internal/util/inspect:2169:10)
at console.value (node:internal/console/constructor:350:14)
at console.warn (node:internal/console/constructor:383:61)
at file:///home/viralhoga/game_viralhoga_com/src/controllers/transController.js:168:17
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
errors: {
transactionId: ValidatorError: Path `transactionId` is required.
at validate (/home/viralhoga/game_viralhoga_com/node_modules/mongoose/lib/schemaType.js:1364:13)
at SchemaType.doValidate (/home/viralhoga/game_viralhoga_com/node_modules/mongoose/lib/schemaType.js:1348:7)
at /home/viralhoga/game_viralhoga_com/node_modules/mongoose/lib/document.js:2959:18
at process.processTicksAndRejections (node:internal/process/task_queues:77:11) {
properties: [Object],
kind: 'required',
path: 'transactionId',
value: '',
reason: undefined,
[Symbol(mongoose#validatorError)]: true
}
},
_message: 'Transaction validation failed'
}
Caught an error: ApiError: Error adding fund:ValidationError: transactionId: Path `transactionId` is required.
at file:///home/viralhoga/game_viralhoga_com/src/controllers/transController.js:169:15
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
statusCode: 500,
data: null,
success: false,
errors: []
}
Error adding fund: Error: Transaction validation failed: transactionId: Path `transactionId` is required.
at ValidationError.inspect (/home/viralhoga/game_viralhoga_com/node_modules/mongoose/lib/error/validation.js:50:26)
at formatValue (node:internal/util/inspect:809:19)
at inspect (node:internal/util/inspect:368:10)
at formatWithOptionsInternal (node:internal/util/inspect:2307:40)
at formatWithOptions (node:internal/util/inspect:2169:10)
at console.value (node:internal/console/constructor:350:14)
at console.warn (node:internal/console/constructor:383:61)
at file:///home/viralhoga/game_viralhoga_com/src/controllers/transController.js:168:17
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
errors: {
transactionId: ValidatorError: Path `transactionId` is required.
at validate (/home/viralhoga/game_viralhoga_com/node_modules/mongoose/lib/schemaType.js:1364:13)
at SchemaType.doValidate (/home/viralhoga/game_viralhoga_com/node_modules/mongoose/lib/schemaType.js:1348:7)
at /home/viralhoga/game_viralhoga_com/node_modules/mongoose/lib/document.js:2959:18
at process.processTicksAndRejections (node:internal/process/task_queues:77:11) {
properties: [Object],
kind: 'required',
path: 'transactionId',
value: '',
reason: undefined,
[Symbol(mongoose#validatorError)]: true
}
},
_message: 'Transaction validation failed'
}
Caught an error: ApiError: Error adding fund:ValidationError: transactionId: Path `transactionId` is required.
at file:///home/viralhoga/game_viralhoga_com/src/controllers/transController.js:169:15
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
statusCode: 500,
data: null,
success: false,
errors: []
}
Error adding GameResult: TypeError: Cannot read properties of null (reading 'gamePrice')
at file:///home/viralhoga/game_viralhoga_com/src/controllers/gameController.js:1655:70
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Caught an error: ApiError: Error adding GameResult:TypeError: Cannot read properties of null (reading 'gamePrice')
at file:///home/viralhoga/game_viralhoga_com/src/controllers/gameController.js:1762:15
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
statusCode: 500,
data: null,
success: false,
errors: []
}
Error adding GameResult: TypeError: Cannot read properties of null (reading 'gamePrice')
at file:///home/viralhoga/game_viralhoga_com/src/controllers/gameController.js:1655:70
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Caught an error: ApiError: Error adding GameResult:TypeError: Cannot read properties of null (reading 'gamePrice')
at file:///home/viralhoga/game_viralhoga_com/src/controllers/gameController.js:1762:15
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
statusCode: 500,
data: null,
success: false,
errors: []
}
Error adding GameResult: TypeError: Cannot read properties of null (reading 'gamePrice')
at file:///home/viralhoga/game_viralhoga_com/src/controllers/gameController.js:1655:70
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Caught an error: ApiError: Error adding GameResult:TypeError: Cannot read properties of null (reading 'gamePrice')
at file:///home/viralhoga/game_viralhoga_com/src/controllers/gameController.js:1762:15
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
statusCode: 500,
data: null,
success: false,
errors: []
}
Error adding GameResult: TypeError: Cannot read properties of null (reading 'gamePrice')
at file:///home/viralhoga/game_viralhoga_com/src/controllers/gameController.js:1655:70
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Caught an error: ApiError: Error adding GameResult:TypeError: Cannot read properties of null (reading 'gamePrice')
at file:///home/viralhoga/game_viralhoga_com/src/controllers/gameController.js:1762:15
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
statusCode: 500,
data: null,
success: false,
errors: []
}
Error adding GameResult: TypeError: Cannot read properties of null (reading 'gamePrice')
at file:///home/viralhoga/game_viralhoga_com/src/controllers/gameController.js:1655:70
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Caught an error: ApiError: Error adding GameResult:TypeError: Cannot read properties of null (reading 'gamePrice')
at file:///home/viralhoga/game_viralhoga_com/src/controllers/gameController.js:1762:15
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
statusCode: 500,
data: null,
success: false,
errors: []
}
Error : ApiError: First delete close result number
at file:///home/viralhoga/game_viralhoga_com/src/controllers/gameController.js:2305:23
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
statusCode: 500,
data: null,
success: false,
errors: []
}
Caught an error: ApiError: Error: First delete close result number
at file:///home/viralhoga/game_viralhoga_com/src/controllers/gameController.js:2538:15
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
statusCode: 500,
data: null,
success: false,
errors: []
}
Error adding GameResult: TypeError: Cannot read properties of null (reading 'gamePrice')
at file:///home/viralhoga/game_viralhoga_com/src/controllers/gameController.js:1358:59
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Caught an error: ApiError: Error adding GameResult:TypeError: Cannot read properties of null (reading 'gamePrice')
at file:///home/viralhoga/game_viralhoga_com/src/controllers/gameController.js:1762:15
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
statusCode: 500,
data: null,
success: false,
errors: []
}
Error adding GameResult: TypeError: Cannot read properties of null (reading 'gamePrice')
at file:///home/viralhoga/game_viralhoga_com/src/controllers/gameController.js:1655:70
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Caught an error: ApiError: Error adding GameResult:TypeError: Cannot read properties of null (reading 'gamePrice')
at file:///home/viralhoga/game_viralhoga_com/src/controllers/gameController.js:1762:15
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
statusCode: 500,
data: null,
success: false,
errors: []
}
Error adding GameResult: TypeError: Cannot read properties of null (reading 'gamePrice')
at file:///home/viralhoga/game_viralhoga_com/src/controllers/gameController.js:1358:59
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Caught an error: ApiError: Error adding GameResult:TypeError: Cannot read properties of null (reading 'gamePrice')
at file:///home/viralhoga/game_viralhoga_com/src/controllers/gameController.js:1762:15
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
statusCode: 500,
data: null,
success: false,
errors: []
}
Error : ApiError: First delete close result number
at file:///home/viralhoga/game_viralhoga_com/src/controllers/gameController.js:2305:23
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
statusCode: 500,
data: null,
success: false,
errors: []
}
Caught an error: ApiError: Error: First delete close result number
at file:///home/viralhoga/game_viralhoga_com/src/controllers/gameController.js:2538:15
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
statusCode: 500,
data: null,
success: false,
errors: []
}
Error adding GameResult: TypeError: Cannot read properties of null (reading 'gamePrice')
at file:///home/viralhoga/game_viralhoga_com/src/controllers/gameController.js:1655:70
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Caught an error: ApiError: Error adding GameResult:TypeError: Cannot read properties of null (reading 'gamePrice')
at file:///home/viralhoga/game_viralhoga_com/src/controllers/gameController.js:1762:15
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
statusCode: 500,
data: null,
success: false,
errors: []
}
Caught an error: ApiError: User not registered
at file:///home/viralhoga/game_viralhoga_com/src/controllers/userController.js:445:19
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
statusCode: 400,
data: null,
success: false,
errors: []
}
Caught an error: ApiError: User not registered
at file:///home/viralhoga/game_viralhoga_com/src/controllers/userController.js:445:19
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
statusCode: 400,
data: null,
success: false,
errors: []
}
Caught an error: ApiError: User not registered
at file:///home/viralhoga/game_viralhoga_com/src/controllers/userController.js:445:19
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
statusCode: 400,
data: null,
success: false,
errors: []
}
Error getting WithdrawSetting: RangeError: Invalid time value
at Date.toISOString (<anonymous>)
at file:///home/viralhoga/game_viralhoga_com/src/controllers/settingController.js:209:102
at file:///home/viralhoga/game_viralhoga_com/src/utils/asyncHandler.js:3:25
at Layer.handle [as handle_request] (/home/viralhoga/game_viralhoga_com/node_modules/express/lib/router/layer.js:95:5)
at next (/home/viralhoga/game_viralhoga_com/node_modules/express/lib/router/route.js:149:13)
at file:///home/viralhoga/game_viralhoga_com/src/middlewares/token_validation.js:17:17
at /home/viralhoga/game_viralhoga_com/node_modules/jsonwebtoken/verify.js:261:12
at getSecret (/home/viralhoga/game_viralhoga_com/node_modules/jsonwebtoken/verify.js:97:14)
at module.exports [as verify] (/home/viralhoga/game_viralhoga_com/node_modules/jsonwebtoken/verify.js:101:10)
at verifyJWT (file:///home/viralhoga/game_viralhoga_com/src/middlewares/token_validation.js:9:13)
Caught an error: ApiError: Error getting WithdrawSetting:RangeError: Invalid time value
at file:///home/viralhoga/game_viralhoga_com/src/controllers/settingController.js:223:15
at file:///home/viralhoga/game_viralhoga_com/src/utils/asyncHandler.js:3:25
at Layer.handle [as handle_request] (/home/viralhoga/game_viralhoga_com/node_modules/express/lib/router/layer.js:95:5)
at next (/home/viralhoga/game_viralhoga_com/node_modules/express/lib/router/route.js:149:13)
at file:///home/viralhoga/game_viralhoga_com/src/middlewares/token_validation.js:17:17
at /home/viralhoga/game_viralhoga_com/node_modules/jsonwebtoken/verify.js:261:12
at getSecret (/home/viralhoga/game_viralhoga_com/node_modules/jsonwebtoken/verify.js:97:14)
at module.exports [as verify] (/home/viralhoga/game_viralhoga_com/node_modules/jsonwebtoken/verify.js:101:10)
at verifyJWT (file:///home/viralhoga/game_viralhoga_com/src/middlewares/token_validation.js:9:13)
at Layer.handle [as handle_request] (/home/viralhoga/game_viralhoga_com/node_modules/express/lib/router/layer.js:95:5) {
statusCode: 500,
data: null,
success: false,
errors: []
}
Error: ENOENT: no such file or directory, open 'uploads/others/template-1748598848687-280661390.crt'
Error: ENOENT: no such file or directory, open 'uploads/others/template-1748598854046-875552970.crt'
MulterError: Unexpected field
at wrappedFileFilter (/home/viralhoga/glambooth_viralhoga_com/node_modules/multer/index.js:40:19)
at Multipart.<anonymous> (/home/viralhoga/glambooth_viralhoga_com/node_modules/multer/lib/make-middleware.js:107:7)
at Multipart.emit (node:events:518:28)
at HeaderParser.cb (/home/viralhoga/glambooth_viralhoga_com/node_modules/busboy/lib/types/multipart.js:358:14)
at HeaderParser.push (/home/viralhoga/glambooth_viralhoga_com/node_modules/busboy/lib/types/multipart.js:162:20)
at SBMH.ssCb [as _cb] (/home/viralhoga/glambooth_viralhoga_com/node_modules/busboy/lib/types/multipart.js:394:37)
at feed (/home/viralhoga/glambooth_viralhoga_com/node_modules/streamsearch/lib/sbmh.js:248:10)
at SBMH.push (/home/viralhoga/glambooth_viralhoga_com/node_modules/streamsearch/lib/sbmh.js:104:16)
at Multipart._write (/home/viralhoga/glambooth_viralhoga_com/node_modules/busboy/lib/types/multipart.js:567:19)
at writeOrBuffer (node:internal/streams/writable:572:12)
MulterError: Unexpected field
at wrappedFileFilter (/home/viralhoga/glambooth_viralhoga_com/node_modules/multer/index.js:40:19)
at Multipart.<anonymous> (/home/viralhoga/glambooth_viralhoga_com/node_modules/multer/lib/make-middleware.js:107:7)
at Multipart.emit (node:events:518:28)
at HeaderParser.cb (/home/viralhoga/glambooth_viralhoga_com/node_modules/busboy/lib/types/multipart.js:358:14)
at HeaderParser.push (/home/viralhoga/glambooth_viralhoga_com/node_modules/busboy/lib/types/multipart.js:162:20)
at SBMH.ssCb [as _cb] (/home/viralhoga/glambooth_viralhoga_com/node_modules/busboy/lib/types/multipart.js:394:37)
at feed (/home/viralhoga/glambooth_viralhoga_com/node_modules/streamsearch/lib/sbmh.js:248:10)
at SBMH.push (/home/viralhoga/glambooth_viralhoga_com/node_modules/streamsearch/lib/sbmh.js:104:16)
at Multipart._write (/home/viralhoga/glambooth_viralhoga_com/node_modules/busboy/lib/types/multipart.js:567:19)
at writeOrBuffer (node:internal/streams/writable:572:12)
MulterError: Unexpected field
at wrappedFileFilter (/home/viralhoga/glambooth_viralhoga_com/node_modules/multer/index.js:40:19)
at Multipart.<anonymous> (/home/viralhoga/glambooth_viralhoga_com/node_modules/multer/lib/make-middleware.js:107:7)
at Multipart.emit (node:events:518:28)
at HeaderParser.cb (/home/viralhoga/glambooth_viralhoga_com/node_modules/busboy/lib/types/multipart.js:358:14)
at HeaderParser.push (/home/viralhoga/glambooth_viralhoga_com/node_modules/busboy/lib/types/multipart.js:162:20)
at SBMH.ssCb [as _cb] (/home/viralhoga/glambooth_viralhoga_com/node_modules/busboy/lib/types/multipart.js:394:37)
at feed (/home/viralhoga/glambooth_viralhoga_com/node_modules/streamsearch/lib/sbmh.js:248:10)
at SBMH.push (/home/viralhoga/glambooth_viralhoga_com/node_modules/streamsearch/lib/sbmh.js:104:16)
at Multipart._write (/home/viralhoga/glambooth_viralhoga_com/node_modules/busboy/lib/types/multipart.js:567:19)
at writeOrBuffer (node:internal/streams/writable:572:12)
MulterError: Unexpected field
at wrappedFileFilter (/home/viralhoga/glambooth_viralhoga_com/node_modules/multer/index.js:40:19)
at Multipart.<anonymous> (/home/viralhoga/glambooth_viralhoga_com/node_modules/multer/lib/make-middleware.js:107:7)
at Multipart.emit (node:events:518:28)
at HeaderParser.cb (/home/viralhoga/glambooth_viralhoga_com/node_modules/busboy/lib/types/multipart.js:358:14)
at HeaderParser.push (/home/viralhoga/glambooth_viralhoga_com/node_modules/busboy/lib/types/multipart.js:162:20)
at SBMH.ssCb [as _cb] (/home/viralhoga/glambooth_viralhoga_com/node_modules/busboy/lib/types/multipart.js:394:37)
at feed (/home/viralhoga/glambooth_viralhoga_com/node_modules/streamsearch/lib/sbmh.js:248:10)
at SBMH.push (/home/viralhoga/glambooth_viralhoga_com/node_modules/streamsearch/lib/sbmh.js:104:16)
at Multipart._write (/home/viralhoga/glambooth_viralhoga_com/node_modules/busboy/lib/types/multipart.js:567:19)
at writeOrBuffer (node:internal/streams/writable:572:12)
SyntaxError: Identifier 'cors' has already been declared
at compileSourceTextModule (node:internal/modules/esm/utils:339:16)
at ModuleLoader.moduleStrategy (node:internal/modules/esm/translators:168:18)
at callTranslator (node:internal/modules/esm/loader:428:14)
at ModuleLoader.moduleProvider (node:internal/modules/esm/loader:434:30)
SyntaxError: Identifier 'cors' has already been declared
at compileSourceTextModule (node:internal/modules/esm/utils:339:16)
at ModuleLoader.moduleStrategy (node:internal/modules/esm/translators:168:18)
at callTranslator (node:internal/modules/esm/loader:428:14)
at ModuleLoader.moduleProvider (node:internal/modules/esm/loader:434:30)
SyntaxError: Identifier 'cors' has already been declared
at compileSourceTextModule (node:internal/modules/esm/utils:339:16)
at ModuleLoader.moduleStrategy (node:internal/modules/esm/translators:168:18)
at callTranslator (node:internal/modules/esm/loader:428:14)
at ModuleLoader.moduleProvider (node:internal/modules/esm/loader:434:30)
SyntaxError: Identifier 'cors' has already been declared
at compileSourceTextModule (node:internal/modules/esm/utils:339:16)
at ModuleLoader.moduleStrategy (node:internal/modules/esm/translators:168:18)
at callTranslator (node:internal/modules/esm/loader:428:14)
at ModuleLoader.moduleProvider (node:internal/modules/esm/loader:434:30)
SyntaxError: Identifier 'cors' has already been declared
at compileSourceTextModule (node:internal/modules/esm/utils:339:16)
at ModuleLoader.moduleStrategy (node:internal/modules/esm/translators:168:18)
at callTranslator (node:internal/modules/esm/loader:428:14)
at ModuleLoader.moduleProvider (node:internal/modules/esm/loader:434:30)
SyntaxError: Identifier 'cors' has already been declared
at compileSourceTextModule (node:internal/modules/esm/utils:339:16)
at ModuleLoader.moduleStrategy (node:internal/modules/esm/translators:168:18)
at callTranslator (node:internal/modules/esm/loader:428:14)
at ModuleLoader.moduleProvider (node:internal/modules/esm/loader:434:30)
SyntaxError: Identifier 'cors' has already been declared
at compileSourceTextModule (node:internal/modules/esm/utils:339:16)
at ModuleLoader.moduleStrategy (node:internal/modules/esm/translators:168:18)
at callTranslator (node:internal/modules/esm/loader:428:14)
at ModuleLoader.moduleProvider (node:internal/modules/esm/loader:434:30)
SyntaxError: Identifier 'cors' has already been declared
at compileSourceTextModule (node:internal/modules/esm/utils:339:16)
at ModuleLoader.moduleStrategy (node:internal/modules/esm/translators:168:18)
at callTranslator (node:internal/modules/esm/loader:428:14)
at ModuleLoader.moduleProvider (node:internal/modules/esm/loader:434:30)
ReferenceError: file is not defined
at file:///home/viralhoga/glambooth_viralhoga_com/src/app.js:62:25
at Layer.handle [as handle_request] (/home/viralhoga/glambooth_viralhoga_com/node_modules/express/lib/router/layer.js:95:5)
at next (/home/viralhoga/glambooth_viralhoga_com/node_modules/express/lib/router/route.js:149:13)
at done (/home/viralhoga/glambooth_viralhoga_com/node_modules/multer/lib/make-middleware.js:45:7)
at indicateDone (/home/viralhoga/glambooth_viralhoga_com/node_modules/multer/lib/make-middleware.js:49:68)
at /home/viralhoga/glambooth_viralhoga_com/node_modules/multer/lib/make-middleware.js:155:11
at WriteStream.<anonymous> (/home/viralhoga/glambooth_viralhoga_com/node_modules/multer/storage/disk.js:43:9)
at WriteStream.emit (node:events:530:35)
at finish (node:internal/streams/writable:955:10)
at node:internal/streams/writable:936:13
Error: ENOENT: no such file or directory, open 'uploads/others/template-1749040112994-514710802.webp'
Error: ENOENT: no such file or directory, open 'uploads/others/template-1749040370170-56432796.webp'
Caught an error: ApiError: Invalid OTP
at file:///home/viralhoga/game_viralhoga_com/src/controllers/userController.js:439:15
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
statusCode: 400,
data: null,
success: false,
errors: []
}
Caught an error: ApiError: User not registered
at file:///home/viralhoga/game_viralhoga_com/src/controllers/userController.js:445:19
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
statusCode: 400,
data: null,
success: false,
errors: []
}
Caught an error: ApiError: MPIN is required
at file:///home/viralhoga/game_viralhoga_com/src/controllers/userController.js:485:15
at file:///home/viralhoga/game_viralhoga_com/src/utils/asyncHandler.js:3:25
at Layer.handle [as handle_request] (/home/viralhoga/game_viralhoga_com/node_modules/express/lib/router/layer.js:95:5)
at next (/home/viralhoga/game_viralhoga_com/node_modules/express/lib/router/route.js:149:13)
at Route.dispatch (/home/viralhoga/game_viralhoga_com/node_modules/express/lib/router/route.js:119:3)
at Layer.handle [as handle_request] (/home/viralhoga/game_viralhoga_com/node_modules/express/lib/router/layer.js:95:5)
at /home/viralhoga/game_viralhoga_com/node_modules/express/lib/router/index.js:284:15
at param (/home/viralhoga/game_viralhoga_com/node_modules/express/lib/router/index.js:365:14)
at param (/home/viralhoga/game_viralhoga_com/node_modules/express/lib/router/index.js:376:14)
at Function.process_params (/home/viralhoga/game_viralhoga_com/node_modules/express/lib/router/index.js:421:3) {
statusCode: 400,
data: null,
success: false,
errors: []
}
Caught an error: ApiError: MPIN is required
at file:///home/viralhoga/game_viralhoga_com/src/controllers/userController.js:485:15
at file:///home/viralhoga/game_viralhoga_com/src/utils/asyncHandler.js:3:25
at Layer.handle [as handle_request] (/home/viralhoga/game_viralhoga_com/node_modules/express/lib/router/layer.js:95:5)
at next (/home/viralhoga/game_viralhoga_com/node_modules/express/lib/router/route.js:149:13)
at Route.dispatch (/home/viralhoga/game_viralhoga_com/node_modules/express/lib/router/route.js:119:3)
at Layer.handle [as handle_request] (/home/viralhoga/game_viralhoga_com/node_modules/express/lib/router/layer.js:95:5)
at /home/viralhoga/game_viralhoga_com/node_modules/express/lib/router/index.js:284:15
at param (/home/viralhoga/game_viralhoga_com/node_modules/express/lib/router/index.js:365:14)
at param (/home/viralhoga/game_viralhoga_com/node_modules/express/lib/router/index.js:376:14)
at Function.process_params (/home/viralhoga/game_viralhoga_com/node_modules/express/lib/router/index.js:421:3) {
statusCode: 400,
data: null,
success: false,
errors: []
}
URIError: Failed to decode param '/%C0'
at decodeURIComponent (<anonymous>)
at decode_param (/home/viralhoga/glambooth_viralhoga_com/node_modules/express/lib/router/layer.js:172:12)
at Layer.match (/home/viralhoga/glambooth_viralhoga_com/node_modules/express/lib/router/layer.js:123:27)
at matchLayer (/home/viralhoga/glambooth_viralhoga_com/node_modules/express/lib/router/index.js:585:18)
at next (/home/viralhoga/glambooth_viralhoga_com/node_modules/express/lib/router/index.js:226:15)
at cors (/home/viralhoga/glambooth_viralhoga_com/node_modules/cors/lib/index.js:188:7)
at /home/viralhoga/glambooth_viralhoga_com/node_modules/cors/lib/index.js:224:17
at originCallback (/home/viralhoga/glambooth_viralhoga_com/node_modules/cors/lib/index.js:214:15)
at /home/viralhoga/glambooth_viralhoga_com/node_modules/cors/lib/index.js:219:13
at optionsCallback (/home/viralhoga/glambooth_viralhoga_com/node_modules/cors/lib/index.js:199:9)
URIError: Failed to decode param '/%C0'
at decodeURIComponent (<anonymous>)
at decode_param (/home/viralhoga/glambooth_viralhoga_com/node_modules/express/lib/router/layer.js:172:12)
at Layer.match (/home/viralhoga/glambooth_viralhoga_com/node_modules/express/lib/router/layer.js:123:27)
at matchLayer (/home/viralhoga/glambooth_viralhoga_com/node_modules/express/lib/router/index.js:585:18)
at next (/home/viralhoga/glambooth_viralhoga_com/node_modules/express/lib/router/index.js:226:15)
at cors (/home/viralhoga/glambooth_viralhoga_com/node_modules/cors/lib/index.js:188:7)
at /home/viralhoga/glambooth_viralhoga_com/node_modules/cors/lib/index.js:224:17
at originCallback (/home/viralhoga/glambooth_viralhoga_com/node_modules/cors/lib/index.js:214:15)
at /home/viralhoga/glambooth_viralhoga_com/node_modules/cors/lib/index.js:219:13
at optionsCallback (/home/viralhoga/glambooth_viralhoga_com/node_modules/cors/lib/index.js:199:9)
Caught an error: ApiError: MPIN is required
at file:///home/viralhoga/game_viralhoga_com/src/controllers/userController.js:485:15
at file:///home/viralhoga/game_viralhoga_com/src/utils/asyncHandler.js:3:25
at Layer.handle [as handle_request] (/home/viralhoga/game_viralhoga_com/node_modules/express/lib/router/layer.js:95:5)
at next (/home/viralhoga/game_viralhoga_com/node_modules/express/lib/router/route.js:149:13)
at Route.dispatch (/home/viralhoga/game_viralhoga_com/node_modules/express/lib/router/route.js:119:3)
at Layer.handle [as handle_request] (/home/viralhoga/game_viralhoga_com/node_modules/express/lib/router/layer.js:95:5)
at /home/viralhoga/game_viralhoga_com/node_modules/express/lib/router/index.js:284:15
at param (/home/viralhoga/game_viralhoga_com/node_modules/express/lib/router/index.js:365:14)
at param (/home/viralhoga/game_viralhoga_com/node_modules/express/lib/router/index.js:376:14)
at Function.process_params (/home/viralhoga/game_viralhoga_com/node_modules/express/lib/router/index.js:421:3) {
statusCode: 400,
data: null,
success: false,
errors: []
}
Caught an error: ApiError: MPIN is required
at file:///home/viralhoga/game_viralhoga_com/src/controllers/userController.js:485:15
at file:///home/viralhoga/game_viralhoga_com/src/utils/asyncHandler.js:3:25
at Layer.handle [as handle_request] (/home/viralhoga/game_viralhoga_com/node_modules/express/lib/router/layer.js:95:5)
at next (/home/viralhoga/game_viralhoga_com/node_modules/express/lib/router/route.js:149:13)
at Route.dispatch (/home/viralhoga/game_viralhoga_com/node_modules/express/lib/router/route.js:119:3)
at Layer.handle [as handle_request] (/home/viralhoga/game_viralhoga_com/node_modules/express/lib/router/layer.js:95:5)
at /home/viralhoga/game_viralhoga_com/node_modules/express/lib/router/index.js:284:15
at param (/home/viralhoga/game_viralhoga_com/node_modules/express/lib/router/index.js:365:14)
at param (/home/viralhoga/game_viralhoga_com/node_modules/express/lib/router/index.js:376:14)
at Function.process_params (/home/viralhoga/game_viralhoga_com/node_modules/express/lib/router/index.js:421:3) {
statusCode: 400,
data: null,
success: false,
errors: []
}