(node:475517) Warning: Accessing non-existent property 'get' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
(node:491333) Warning: Accessing non-existent property 'get' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
(node:515629) Warning: Accessing non-existent property 'get' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
(node:537361) Warning: Accessing non-existent property 'get' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
TypeError: Cannot read properties of undefined (reading 'value')
    at getBattAndStatusAPI (/home/haohant1/api.conghuy.io.vn/src/controllers/apiController.js:227:28)
    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
(node:869228) Warning: Accessing non-existent property 'get' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
TypeError: Cannot read properties of undefined (reading 'value')
    at getBattAndStatusAPI (/home/haohant1/api.conghuy.io.vn/src/controllers/apiController.js:227:28)
    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
TypeError: Cannot read properties of undefined (reading 'value')
    at getBattAndStatusAPI (/home/haohant1/api.conghuy.io.vn/src/controllers/apiController.js:227:28)
    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
TypeError: Cannot read properties of undefined (reading 'value')
    at getBattAndStatusAPI (/home/haohant1/api.conghuy.io.vn/src/controllers/apiController.js:227:28)
    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
TypeError: Cannot read properties of undefined (reading 'value')
    at getBattAndStatusAPI (/home/haohant1/api.conghuy.io.vn/src/controllers/apiController.js:227:28)
    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
TypeError: Cannot read properties of undefined (reading 'value')
    at getBattAndStatusAPI (/home/haohant1/api.conghuy.io.vn/src/controllers/apiController.js:227:28)
    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
TypeError: Cannot read properties of undefined (reading 'value')
    at getBattAndStatusAPI (/home/haohant1/api.conghuy.io.vn/src/controllers/apiController.js:227:28)
    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
(node:3756288) Warning: Accessing non-existent property 'get' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
(node:1097323) Warning: Accessing non-existent property 'get' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
(node:184303) Warning: Accessing non-existent property 'get' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
(node:3836855) Warning: Accessing non-existent property 'get' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
(node:1469823) Warning: Accessing non-existent property 'get' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
Error: Table 'haohant1_helhope.users' doesn't exist
    at PromisePool.query (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/mysql2/lib/promise/pool.js:36:22)
    at getAllUser (/home/haohant1/api.conghuy.io.vn/src/services/CRUDService.js:4:46)
    at getHomePage (/home/haohant1/api.conghuy.io.vn/src/controllers/homeController.js:6:25)
    at Layer.handleRequest (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/lib/layer.js:152:17)
    at next (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/lib/route.js:157:13)
    at Route.dispatch (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/lib/route.js:117:3)
    at handle (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/index.js:435:11)
    at Layer.handleRequest (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/lib/layer.js:152:17)
    at /home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/index.js:295:15
    at processParams (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/index.js:582:12)
Error: Table 'haohant1_helhope.users' doesn't exist
    at PromisePool.query (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/mysql2/lib/promise/pool.js:36:22)
    at getAllUser (/home/haohant1/api.conghuy.io.vn/src/services/CRUDService.js:4:46)
    at getHomePage (/home/haohant1/api.conghuy.io.vn/src/controllers/homeController.js:6:25)
    at Layer.handleRequest (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/lib/layer.js:152:17)
    at next (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/lib/route.js:157:13)
    at Route.dispatch (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/lib/route.js:117:3)
    at handle (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/index.js:435:11)
    at Layer.handleRequest (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/lib/layer.js:152:17)
    at /home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/index.js:295:15
    at processParams (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/index.js:582:12)
Error: Table 'haohant1_helhope.users' doesn't exist
    at PromisePool.query (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/mysql2/lib/promise/pool.js:36:22)
    at getAllUser (/home/haohant1/api.conghuy.io.vn/src/services/CRUDService.js:4:46)
    at getHomePage (/home/haohant1/api.conghuy.io.vn/src/controllers/homeController.js:6:25)
    at Layer.handleRequest (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/lib/layer.js:152:17)
    at next (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/lib/route.js:157:13)
    at Route.dispatch (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/lib/route.js:117:3)
    at handle (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/index.js:435:11)
    at Layer.handleRequest (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/lib/layer.js:152:17)
    at /home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/index.js:295:15
    at processParams (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/index.js:582:12)
Error: Table 'haohant1_helhope.users' doesn't exist
    at PromisePool.query (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/mysql2/lib/promise/pool.js:36:22)
    at getAllUser (/home/haohant1/api.conghuy.io.vn/src/services/CRUDService.js:4:46)
    at getHomePage (/home/haohant1/api.conghuy.io.vn/src/controllers/homeController.js:6:25)
    at Layer.handleRequest (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/lib/layer.js:152:17)
    at next (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/lib/route.js:157:13)
    at Route.dispatch (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/lib/route.js:117:3)
    at handle (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/index.js:435:11)
    at Layer.handleRequest (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/lib/layer.js:152:17)
    at /home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/index.js:295:15
    at processParams (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/index.js:582:12)
Error: Table 'haohant1_helhope.users' doesn't exist
    at PromisePool.query (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/mysql2/lib/promise/pool.js:36:22)
    at getAllUser (/home/haohant1/api.conghuy.io.vn/src/services/CRUDService.js:4:46)
    at getHomePage (/home/haohant1/api.conghuy.io.vn/src/controllers/homeController.js:6:25)
    at Layer.handleRequest (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/lib/layer.js:152:17)
    at next (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/lib/route.js:157:13)
    at Route.dispatch (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/lib/route.js:117:3)
    at handle (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/index.js:435:11)
    at Layer.handleRequest (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/lib/layer.js:152:17)
    at /home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/index.js:295:15
    at processParams (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/index.js:582:12)
Lỗi khi lấy thông tin user: Error: Table 'haohant1_helhope.users' doesn't exist
    at PromisePool.query (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/mysql2/lib/promise/pool.js:36:22)
    at getUserById (/home/haohant1/api.conghuy.io.vn/src/services/CRUDService.js:9:46)
    at getUserByIdAPI (/home/haohant1/api.conghuy.io.vn/src/controllers/apiController.js:160:26)
    at Layer.handleRequest (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/lib/layer.js:152:17)
    at next (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/lib/route.js:157:13)
    at Route.dispatch (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/lib/route.js:117:3)
    at handle (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/index.js:435:11)
    at Layer.handleRequest (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/lib/layer.js:152:17)
    at /home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/index.js:295:15
    at param (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/index.js:600:14) {
  code: 'ER_NO_SUCH_TABLE',
  errno: 1146,
  sql: "SELECT id, username, fullname, email, phone, rank, devices_id FROM users WHERE id = '1'",
  sqlState: '42S02',
  sqlMessage: "Table 'haohant1_helhope.users' doesn't exist"
}
Lỗi khi lấy thông tin user: Error: Table 'haohant1_helhope.users' doesn't exist
    at PromisePool.query (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/mysql2/lib/promise/pool.js:36:22)
    at getUserById (/home/haohant1/api.conghuy.io.vn/src/services/CRUDService.js:9:46)
    at getUserByIdAPI (/home/haohant1/api.conghuy.io.vn/src/controllers/apiController.js:160:26)
    at Layer.handleRequest (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/lib/layer.js:152:17)
    at next (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/lib/route.js:157:13)
    at Route.dispatch (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/lib/route.js:117:3)
    at handle (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/index.js:435:11)
    at Layer.handleRequest (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/lib/layer.js:152:17)
    at /home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/index.js:295:15
    at param (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/index.js:600:14) {
  code: 'ER_NO_SUCH_TABLE',
  errno: 1146,
  sql: "SELECT id, username, fullname, email, phone, rank, devices_id FROM users WHERE id = '1'",
  sqlState: '42S02',
  sqlMessage: "Table 'haohant1_helhope.users' doesn't exist"
}
Lỗi khi lấy thông tin user: Error: Table 'haohant1_helhope.users' doesn't exist
    at PromisePool.query (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/mysql2/lib/promise/pool.js:36:22)
    at getUserById (/home/haohant1/api.conghuy.io.vn/src/services/CRUDService.js:9:46)
    at getUserByIdAPI (/home/haohant1/api.conghuy.io.vn/src/controllers/apiController.js:160:26)
    at Layer.handleRequest (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/lib/layer.js:152:17)
    at next (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/lib/route.js:157:13)
    at Route.dispatch (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/lib/route.js:117:3)
    at handle (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/index.js:435:11)
    at Layer.handleRequest (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/lib/layer.js:152:17)
    at /home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/index.js:295:15
    at param (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/index.js:600:14) {
  code: 'ER_NO_SUCH_TABLE',
  errno: 1146,
  sql: "SELECT id, username, fullname, email, phone, rank, devices_id FROM users WHERE id = '1'",
  sqlState: '42S02',
  sqlMessage: "Table 'haohant1_helhope.users' doesn't exist"
}
Error: Table 'haohant1_helhope.users' doesn't exist
    at PromisePool.query (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/mysql2/lib/promise/pool.js:36:22)
    at loginAPI (/home/haohant1/api.conghuy.io.vn/src/controllers/apiController.js:57:46)
    at Layer.handleRequest (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/lib/layer.js:152:17)
    at next (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/lib/route.js:157:13)
    at Route.dispatch (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/lib/route.js:117:3)
    at handle (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/index.js:435:11)
    at Layer.handleRequest (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/lib/layer.js:152:17)
    at /home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/index.js:295:15
    at processParams (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/index.js:582:12)
    at next (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/index.js:291:5)
Error: Table 'haohant1_helhope.users' doesn't exist
    at PromisePool.query (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/mysql2/lib/promise/pool.js:36:22)
    at loginAPI (/home/haohant1/api.conghuy.io.vn/src/controllers/apiController.js:57:46)
    at Layer.handleRequest (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/lib/layer.js:152:17)
    at next (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/lib/route.js:157:13)
    at Route.dispatch (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/lib/route.js:117:3)
    at handle (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/index.js:435:11)
    at Layer.handleRequest (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/lib/layer.js:152:17)
    at /home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/index.js:295:15
    at processParams (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/index.js:582:12)
    at next (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/index.js:291:5)
Error: Table 'haohant1_helhope.users' doesn't exist
    at PromisePool.query (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/mysql2/lib/promise/pool.js:36:22)
    at loginAPI (/home/haohant1/api.conghuy.io.vn/src/controllers/apiController.js:57:46)
    at Layer.handleRequest (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/lib/layer.js:152:17)
    at next (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/lib/route.js:157:13)
    at Route.dispatch (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/lib/route.js:117:3)
    at handle (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/index.js:435:11)
    at Layer.handleRequest (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/lib/layer.js:152:17)
    at /home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/index.js:295:15
    at processParams (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/index.js:582:12)
    at next (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/index.js:291:5)
Error: Table 'haohant1_helhope.users' doesn't exist
    at PromisePool.query (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/mysql2/lib/promise/pool.js:36:22)
    at loginAPI (/home/haohant1/api.conghuy.io.vn/src/controllers/apiController.js:57:46)
    at Layer.handleRequest (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/lib/layer.js:152:17)
    at next (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/lib/route.js:157:13)
    at Route.dispatch (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/lib/route.js:117:3)
    at handle (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/index.js:435:11)
    at Layer.handleRequest (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/lib/layer.js:152:17)
    at /home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/index.js:295:15
    at processParams (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/index.js:582:12)
    at next (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/index.js:291:5)
Error: Table 'haohant1_helhope.users' doesn't exist
    at PromisePool.query (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/mysql2/lib/promise/pool.js:36:22)
    at loginAPI (/home/haohant1/api.conghuy.io.vn/src/controllers/apiController.js:57:46)
    at Layer.handleRequest (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/lib/layer.js:152:17)
    at next (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/lib/route.js:157:13)
    at Route.dispatch (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/lib/route.js:117:3)
    at handle (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/index.js:435:11)
    at Layer.handleRequest (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/lib/layer.js:152:17)
    at /home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/index.js:295:15
    at processParams (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/index.js:582:12)
    at next (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/index.js:291:5)
Error: Table 'haohant1_helhope.users' doesn't exist
    at PromisePool.query (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/mysql2/lib/promise/pool.js:36:22)
    at loginAPI (/home/haohant1/api.conghuy.io.vn/src/controllers/apiController.js:57:46)
    at Layer.handleRequest (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/lib/layer.js:152:17)
    at next (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/lib/route.js:157:13)
    at Route.dispatch (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/lib/route.js:117:3)
    at handle (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/index.js:435:11)
    at Layer.handleRequest (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/lib/layer.js:152:17)
    at /home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/index.js:295:15
    at processParams (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/index.js:582:12)
    at next (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/index.js:291:5)
Error: Table 'haohant1_helhope.users' doesn't exist
    at PromisePool.query (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/mysql2/lib/promise/pool.js:36:22)
    at loginAPI (/home/haohant1/api.conghuy.io.vn/src/controllers/apiController.js:57:46)
    at Layer.handleRequest (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/lib/layer.js:152:17)
    at next (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/lib/route.js:157:13)
    at Route.dispatch (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/lib/route.js:117:3)
    at handle (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/index.js:435:11)
    at Layer.handleRequest (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/lib/layer.js:152:17)
    at /home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/index.js:295:15
    at processParams (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/index.js:582:12)
    at next (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/index.js:291:5)
Error: Table 'haohant1_helhope.users' doesn't exist
    at PromisePool.query (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/mysql2/lib/promise/pool.js:36:22)
    at getAllUser (/home/haohant1/api.conghuy.io.vn/src/services/CRUDService.js:4:46)
    at getHomePage (/home/haohant1/api.conghuy.io.vn/src/controllers/homeController.js:6:25)
    at Layer.handleRequest (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/lib/layer.js:152:17)
    at next (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/lib/route.js:157:13)
    at Route.dispatch (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/lib/route.js:117:3)
    at handle (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/index.js:435:11)
    at Layer.handleRequest (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/lib/layer.js:152:17)
    at /home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/index.js:295:15
    at processParams (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/index.js:582:12)
Error: Table 'haohant1_helhope.users' doesn't exist
    at PromisePool.query (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/mysql2/lib/promise/pool.js:36:22)
    at loginAPI (/home/haohant1/api.conghuy.io.vn/src/controllers/apiController.js:57:46)
    at Layer.handleRequest (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/lib/layer.js:152:17)
    at next (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/lib/route.js:157:13)
    at Route.dispatch (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/lib/route.js:117:3)
    at handle (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/index.js:435:11)
    at Layer.handleRequest (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/lib/layer.js:152:17)
    at /home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/index.js:295:15
    at processParams (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/index.js:582:12)
    at next (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/index.js:291:5)
Error: Table 'haohant1_helhope.users' doesn't exist
    at PromisePool.query (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/mysql2/lib/promise/pool.js:36:22)
    at loginAPI (/home/haohant1/api.conghuy.io.vn/src/controllers/apiController.js:57:46)
    at Layer.handleRequest (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/lib/layer.js:152:17)
    at next (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/lib/route.js:157:13)
    at Route.dispatch (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/lib/route.js:117:3)
    at handle (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/index.js:435:11)
    at Layer.handleRequest (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/lib/layer.js:152:17)
    at /home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/index.js:295:15
    at processParams (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/index.js:582:12)
    at next (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/index.js:291:5)
Error: Table 'haohant1_helhope.logs' doesn't exist
    at PromisePool.query (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/mysql2/lib/promise/pool.js:36:22)
    at getBattAndStatusDevice (/home/haohant1/api.conghuy.io.vn/src/services/CRUDService.js:90:40)
    at getBattAndStatusAPI (/home/haohant1/api.conghuy.io.vn/src/controllers/apiController.js:225:21)
    at Layer.handleRequest (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/lib/layer.js:152:17)
    at next (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/lib/route.js:157:13)
    at Route.dispatch (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/lib/route.js:117:3)
    at handle (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/index.js:435:11)
    at Layer.handleRequest (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/lib/layer.js:152:17)
    at /home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/index.js:295:15
    at processParams (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/index.js:582:12)
(node:185523) Warning: Accessing non-existent property 'get' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
(node:2206298) Warning: Accessing non-existent property 'get' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
(node:2264375) Warning: Accessing non-existent property 'get' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
(node:3484427) Warning: Accessing non-existent property 'get' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
(node:3196293) Warning: Accessing non-existent property 'get' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
(node:3270804) Warning: Accessing non-existent property 'get' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
(node:3388785) Warning: Accessing non-existent property 'get' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
(node:3579853) Warning: Accessing non-existent property 'get' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
(node:3928810) Warning: Accessing non-existent property 'get' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
Lỗi khi lấy thông tin user: TypeError: getSupervisorDevicesById is not a function
    at getUserByIdAPI (/home/haohant1/api.conghuy.io.vn/src/controllers/apiController.js:196:36)
    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
Lỗi khi lấy thông tin user: TypeError: getSupervisorDevicesById is not a function
    at getUserByIdAPI (/home/haohant1/api.conghuy.io.vn/src/controllers/apiController.js:196:36)
    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
Lỗi khi lấy thông tin user: TypeError: getSupervisorDevicesById is not a function
    at getUserByIdAPI (/home/haohant1/api.conghuy.io.vn/src/controllers/apiController.js:196:36)
    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
Lỗi khi lấy thông tin user: TypeError: getSupervisorDevicesById is not a function
    at getUserByIdAPI (/home/haohant1/api.conghuy.io.vn/src/controllers/apiController.js:196:36)
    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
Lỗi khi lấy thông tin user: TypeError: getSupervisorDevicesById is not a function
    at getUserByIdAPI (/home/haohant1/api.conghuy.io.vn/src/controllers/apiController.js:196:36)
    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
Lỗi khi lấy thông tin user: TypeError: getSupervisorDevicesById is not a function
    at getUserByIdAPI (/home/haohant1/api.conghuy.io.vn/src/controllers/apiController.js:196:36)
    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
Lỗi khi lấy thông tin user: TypeError: getSupervisorDevicesById is not a function
    at getUserByIdAPI (/home/haohant1/api.conghuy.io.vn/src/controllers/apiController.js:196:36)
    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
(node:3977707) Warning: Accessing non-existent property 'get' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
(node:3980238) Warning: Accessing non-existent property 'get' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
(node:3987724) Warning: Accessing non-existent property 'get' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
(node:4031728) Warning: Accessing non-existent property 'get' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
(node:4060463) Warning: Accessing non-existent property 'get' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
(node:4189216) Warning: Accessing non-existent property 'get' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
(node:2803978) Warning: Accessing non-existent property 'get' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
(node:636316) Warning: Accessing non-existent property 'get' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
(node:3068276) Warning: Accessing non-existent property 'get' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
TypeError: Cannot read properties of undefined (reading 'id')
    at getSupervisorDeviceLogsByIdAPI (/home/haohant1/api.conghuy.io.vn/src/controllers/apiController.js:248:83)
    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
TypeError: Cannot read properties of undefined (reading 'id')
    at getSupervisorDeviceLogsByIdAPI (/home/haohant1/api.conghuy.io.vn/src/controllers/apiController.js:248:83)
    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
(node:3220952) Warning: Accessing non-existent property 'get' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
TypeError: Cannot read properties of undefined (reading 'id')
    at getSupervisorDeviceLogsByIdAPI (/home/haohant1/api.conghuy.io.vn/src/controllers/apiController.js:248:83)
    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
TypeError: Cannot read properties of undefined (reading 'id')
    at getSupervisorDeviceLogsByIdAPI (/home/haohant1/api.conghuy.io.vn/src/controllers/apiController.js:248:83)
    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
TypeError: Cannot read properties of undefined (reading 'id')
    at getSupervisorDeviceLogsByIdAPI (/home/haohant1/api.conghuy.io.vn/src/controllers/apiController.js:248:83)
    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
TypeError: Cannot read properties of undefined (reading 'id')
    at getSupervisorDeviceLogsByIdAPI (/home/haohant1/api.conghuy.io.vn/src/controllers/apiController.js:248:83)
    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
TypeError: Cannot read properties of undefined (reading 'id')
    at getSupervisorDeviceLogsByIdAPI (/home/haohant1/api.conghuy.io.vn/src/controllers/apiController.js:248:83)
    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
(node:835761) Warning: Accessing non-existent property 'get' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
(node:1747186) Warning: Accessing non-existent property 'get' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
(node:1747803) Warning: Accessing non-existent property 'get' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
(node:3243661) Warning: Accessing non-existent property 'get' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
(node:3267001) Warning: Accessing non-existent property 'get' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
(node:3316911) Warning: Accessing non-existent property 'get' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
(node:3819473) Warning: Accessing non-existent property 'get' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
(node:3892261) Warning: Accessing non-existent property 'get' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
(node:3981910) Warning: Accessing non-existent property 'get' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
(node:3995782) Warning: Accessing non-existent property 'get' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
(node:4019083) Warning: Accessing non-existent property 'get' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
(node:4020816) Warning: Accessing non-existent property 'get' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
(node:4031810) Warning: Accessing non-existent property 'get' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
(node:4050698) Warning: Accessing non-existent property 'get' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
(node:4066243) Warning: Accessing non-existent property 'get' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
(node:4148597) Warning: Accessing non-existent property 'get' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
(node:2296277) Warning: Accessing non-existent property 'get' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
(node:2584267) Warning: Accessing non-existent property 'get' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
(node:2598857) Warning: Accessing non-existent property 'get' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
(node:2680438) Warning: Accessing non-existent property 'get' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
(node:4127560) Warning: Accessing non-existent property 'get' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
(node:415132) Warning: Accessing non-existent property 'get' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
Error: connect ETIMEDOUT
    at PromisePool.query (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/mysql2/lib/promise/pool.js:36:22)
    at getAllUser (/home/haohant1/api.conghuy.io.vn/src/services/CRUDService.js:4:46)
    at getHomePage (/home/haohant1/api.conghuy.io.vn/src/controllers/homeController.js:6:25)
    at Layer.handleRequest (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/lib/layer.js:152:17)
    at next (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/lib/route.js:157:13)
    at Route.dispatch (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/lib/route.js:117:3)
    at handle (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/index.js:435:11)
    at Layer.handleRequest (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/lib/layer.js:152:17)
    at /home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/index.js:295:15
    at processParams (/home/haohant1/nodevenv/api.conghuy.io.vn/22/lib/node_modules/router/index.js:582:12)
(node:4095917) Warning: Accessing non-existent property 'get' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
(node:3675882) Warning: Accessing non-existent property 'get' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
(node:3203372) Warning: Accessing non-existent property 'get' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
(node:55593) Warning: Accessing non-existent property 'get' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
(node:93573) Warning: Accessing non-existent property 'get' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
(node:1167221) Warning: Accessing non-existent property 'get' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
(node:4191960) Warning: Accessing non-existent property 'get' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
(node:2274017) Warning: Accessing non-existent property 'get' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
(node:2352302) Warning: Accessing non-existent property 'get' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
(node:3673570) Warning: Accessing non-existent property 'get' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
(node:3813456) Warning: Accessing non-existent property 'get' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
(node:919492) Warning: Accessing non-existent property 'get' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
(node:1907770) Warning: Accessing non-existent property 'get' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
(node:1090802) Warning: Accessing non-existent property 'get' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
(node:3720552) Warning: Accessing non-existent property 'get' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
(node:1593475) Warning: Accessing non-existent property 'get' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
(node:158495) Warning: Accessing non-existent property 'get' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
(node:2092218) Warning: Accessing non-existent property 'get' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
