internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module 'express'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home2/pakis104/oeeb.pakistanautomation.com.pk/app.js:1:17)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module 'express'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home2/pakis104/oeeb.pakistanautomation.com.pk/app.js:1:17)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
Exception ignored in: <_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'>
BrokenPipeError: [Errno 32] Broken pipe
node:internal/modules/cjs/loader:936
  throw err;
  ^

Error: Cannot find module 'express'
Require stack:
- /home2/pakis104/oeeb.pakistanautomation.com.pk/app.js
- /usr/local/lsws/fcgi-bin/lsnode.js
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
    at Function.Module._load (node:internal/modules/cjs/loader:778:27)
    at Module.require (node:internal/modules/cjs/loader:1005:19)
    at require (node:internal/modules/cjs/helpers:102:18)
    at Object.<anonymous> (/home2/pakis104/oeeb.pakistanautomation.com.pk/app.js:1:17)
    at Module._compile (node:internal/modules/cjs/loader:1105:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
    at Module.load (node:internal/modules/cjs/loader:981:32)
    at Function.Module._load (node:internal/modules/cjs/loader:822:12)
    at Module.require (node:internal/modules/cjs/loader:1005:19) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/home2/pakis104/oeeb.pakistanautomation.com.pk/app.js',
    '/usr/local/lsws/fcgi-bin/lsnode.js'
  ]
}
node:internal/modules/cjs/loader:936
  throw err;
  ^

Error: Cannot find module 'express'
Require stack:
- /home2/pakis104/oeeb.pakistanautomation.com.pk/app.js
- /usr/local/lsws/fcgi-bin/lsnode.js
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
    at Function.Module._load (node:internal/modules/cjs/loader:778:27)
    at Module.require (node:internal/modules/cjs/loader:1005:19)
    at require (node:internal/modules/cjs/helpers:102:18)
    at Object.<anonymous> (/home2/pakis104/oeeb.pakistanautomation.com.pk/app.js:1:17)
    at Module._compile (node:internal/modules/cjs/loader:1105:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
    at Module.load (node:internal/modules/cjs/loader:981:32)
    at Function.Module._load (node:internal/modules/cjs/loader:822:12)
    at Module.require (node:internal/modules/cjs/loader:1005:19) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/home2/pakis104/oeeb.pakistanautomation.com.pk/app.js',
    '/usr/local/lsws/fcgi-bin/lsnode.js'
  ]
}
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 07/28/2022 09:10:00, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/16/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/16/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/16/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/16/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/16/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/16/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/16/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/16/lib/node_modules/moment/moment.js:16:29)
    at Query.<anonymous> (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:40:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/16/lib/node_modules/mysql/lib/Connection.js:526:10)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 07/28/2022 09:10:00, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/16/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/16/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/16/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/16/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/16/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/16/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/16/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/16/lib/node_modules/moment/moment.js:16:29)
    at Query.<anonymous> (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:48:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/16/lib/node_modules/mysql/lib/Connection.js:526:10)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 07/28/2022 09:10:00, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/16/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/16/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/16/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/16/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/16/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/16/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/16/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/16/lib/node_modules/moment/moment.js:16:29)
    at Query.<anonymous> (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:48:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/16/lib/node_modules/mysql/lib/Connection.js:526:10)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module 'express'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home2/pakis104/oeeb.pakistanautomation.com.pk/app.js:1:17)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module 'express'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home2/pakis104/oeeb.pakistanautomation.com.pk/app.js:1:17)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 08/15/2022 11:39:00 am, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:40:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 08/15/2022 11:39:00 am, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:40:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
internal/modules/cjs/loader.js:807
  return process.dlopen(module, path.toNamespacedPath(filename));
                 ^

Error: /home2/pakis104/oeeb.pakistanautomation.com.pk/node_modules/bcrypt/lib/binding/napi-v3/bcrypt_lib.node: invalid ELF header
    at Object.Module._extensions..node (internal/modules/cjs/loader.js:807:18)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home2/pakis104/oeeb.pakistanautomation.com.pk/node_modules/bcrypt/bcrypt.js:6:16)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
internal/modules/cjs/loader.js:807
  return process.dlopen(module, path.toNamespacedPath(filename));
                 ^

Error: /home2/pakis104/oeeb.pakistanautomation.com.pk/node_modules/bcrypt/lib/binding/napi-v3/bcrypt_lib.node: invalid ELF header
    at Object.Module._extensions..node (internal/modules/cjs/loader.js:807:18)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home2/pakis104/oeeb.pakistanautomation.com.pk/node_modules/bcrypt/bcrypt.js:6:16)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
internal/modules/cjs/loader.js:807
  return process.dlopen(module, path.toNamespacedPath(filename));
                 ^

Error: /home2/pakis104/oeeb.pakistanautomation.com.pk/node_modules/bcrypt/lib/binding/napi-v3/bcrypt_lib.node: invalid ELF header
    at Object.Module._extensions..node (internal/modules/cjs/loader.js:807:18)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home2/pakis104/oeeb.pakistanautomation.com.pk/node_modules/bcrypt/bcrypt.js:6:16)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
internal/modules/cjs/loader.js:807
  return process.dlopen(module, path.toNamespacedPath(filename));
                 ^

Error: /home2/pakis104/oeeb.pakistanautomation.com.pk/node_modules/bcrypt/lib/binding/napi-v3/bcrypt_lib.node: invalid ELF header
    at Object.Module._extensions..node (internal/modules/cjs/loader.js:807:18)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home2/pakis104/oeeb.pakistanautomation.com.pk/node_modules/bcrypt/bcrypt.js:6:16)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
internal/modules/cjs/loader.js:807
  return process.dlopen(module, path.toNamespacedPath(filename));
                 ^

Error: /home2/pakis104/oeeb.pakistanautomation.com.pk/node_modules/bcrypt/lib/binding/napi-v3/bcrypt_lib.node: invalid ELF header
    at Object.Module._extensions..node (internal/modules/cjs/loader.js:807:18)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home2/pakis104/oeeb.pakistanautomation.com.pk/node_modules/bcrypt/bcrypt.js:6:16)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module 'lodash'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/select.js:6:9)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module 'lodash'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/select.js:6:9)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module 'lodash'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/select.js:6:9)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 09/07/2022 03:00:00 pm, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:52:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
TypeError: Cannot read property 'userRole' of undefined
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:37:18)
    at jwt.verify (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:13:7)
    at Object.module.exports [as verify] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:63:12)
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:10:9)
    at verifyTokenAndAdmin (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:35:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at next (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:144:13)
    at Route.dispatch (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:114:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at /home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/index.js:284:15
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
TypeError: Cannot read property 'userRole' of undefined
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:37:18)
    at jwt.verify (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:13:7)
    at Object.module.exports [as verify] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:63:12)
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:10:9)
    at verifyTokenAndAdmin (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:35:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at next (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:144:13)
    at Route.dispatch (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:114:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at /home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/index.js:284:15
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.db.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/completeOrder/select.js:22:23)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
TypeError: Cannot read property 'userRole' of undefined
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:37:18)
    at jwt.verify (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:13:7)
    at Object.module.exports [as verify] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:63:12)
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:10:9)
    at verifyTokenAndAdmin (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:35:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at next (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:144:13)
    at Route.dispatch (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:114:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at /home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/index.js:284:15
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.db.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/completeOrder/select.js:22:23)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/curruntStatus/selectCurruntStatus.js:21:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/lines/select.js:33:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/stops/select.js:28:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.db.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/stops/select.js:97:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
TypeError: Cannot read property 'userRole' of undefined
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:37:18)
    at jwt.verify (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:13:7)
    at Object.module.exports [as verify] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:63:12)
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:10:9)
    at verifyTokenAndAdmin (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:35:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at next (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:144:13)
    at Route.dispatch (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:114:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at /home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/index.js:284:15
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.db.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/completeOrder/select.js:22:23)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
TypeError: Cannot read property 'userRole' of undefined
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:37:18)
    at jwt.verify (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:13:7)
    at Object.module.exports [as verify] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:63:12)
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:10:9)
    at verifyTokenAndAdmin (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:35:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at next (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:144:13)
    at Route.dispatch (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:114:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at /home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/index.js:284:15
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.db.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/completeOrder/select.js:22:23)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
TypeError: Cannot read property 'userRole' of undefined
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:37:18)
    at jwt.verify (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:13:7)
    at Object.module.exports [as verify] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:63:12)
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:10:9)
    at verifyTokenAndAdmin (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:35:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at next (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:144:13)
    at Route.dispatch (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:114:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at /home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/index.js:284:15
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/curruntStatus/selectCurruntStatus.js:21:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
TypeError: Cannot read property 'userRole' of undefined
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:37:18)
    at jwt.verify (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:13:7)
    at Object.module.exports [as verify] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:63:12)
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:10:9)
    at verifyTokenAndAdmin (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:35:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at next (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:144:13)
    at Route.dispatch (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:114:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at /home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/index.js:284:15
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
TypeError: Cannot read property 'userRole' of undefined
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:37:18)
    at jwt.verify (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:13:7)
    at Object.module.exports [as verify] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:63:12)
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:10:9)
    at verifyTokenAndAdmin (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:35:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at next (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:144:13)
    at Route.dispatch (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:114:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at /home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/index.js:284:15
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/stops/select.js:28:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/lines/select.js:33:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/lines/select.js:33:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: "09/30/2022 05:30:00 am", _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/orders/create.js:46:26)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: true, _useUTC: true, _l: undefined, _i: "09/30/2022 11:30:00 am", _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:106:16)
    at Function.tz (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment-timezone/moment-timezone.js:562:22)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/orders/create.js:61:12)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
TypeError: Cannot read property 'userRole' of undefined
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:37:18)
    at jwt.verify (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:13:7)
    at Object.module.exports [as verify] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:63:12)
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:10:9)
    at verifyTokenAndAdmin (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:35:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at next (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:144:13)
    at Route.dispatch (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:114:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at /home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/index.js:284:15
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/lines/select.js:33:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 09/30/2022 11:30:00 am, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:52:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/lines/select.js:33:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 09/30/2022 11:30:00 am, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:52:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
TypeError: Cannot read property 'userRole' of undefined
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:37:18)
    at jwt.verify (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:13:7)
    at Object.module.exports [as verify] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:63:12)
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:10:9)
    at verifyTokenAndAdmin (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:35:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at next (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:144:13)
    at Route.dispatch (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:114:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at /home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/index.js:284:15
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/stops/select.js:28:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 09/30/2022 11:30:00 am, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:52:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/lines/select.js:33:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
TypeError: Cannot read property 'userRole' of undefined
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:37:18)
    at jwt.verify (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:13:7)
    at Object.module.exports [as verify] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:63:12)
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:10:9)
    at verifyTokenAndAdmin (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:35:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at next (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:144:13)
    at Route.dispatch (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:114:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at /home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/index.js:284:15
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 09/30/2022 11:30:00 am, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:52:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 09/30/2022 11:30:00 am, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:52:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 09/30/2022, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/select.js:186:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 09/30/2022 11:30:00 am, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:52:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 09/30/2022 11:30:00 am, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:52:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
TypeError: Cannot read property 'userRole' of undefined
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:37:18)
    at jwt.verify (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:13:7)
    at Object.module.exports [as verify] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:63:12)
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:10:9)
    at verifyTokenAndAdmin (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:35:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at next (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:144:13)
    at Route.dispatch (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:114:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at /home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/index.js:284:15
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/lines/select.js:33:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: true, _useUTC: true, _l: undefined, _i: "10/01/2022 11:00:00 am", _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:106:16)
    at Function.tz (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment-timezone/moment-timezone.js:562:22)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/orders/create.js:61:12)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 10/01/2022 11:00:00 am, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:52:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 10/01/2022 11:00:00 am, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:52:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 10/01/2022 11:00:00 am, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:52:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 10/01/2022 11:00:00 am, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:52:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 10/01/2022 11:00:00 am, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:52:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 10/01/2022 11:00:00 am, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:52:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
TypeError: Cannot read property 'userRole' of undefined
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:37:18)
    at jwt.verify (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:13:7)
    at Object.module.exports [as verify] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:63:12)
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:10:9)
    at verifyTokenAndAdmin (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:35:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at next (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:144:13)
    at Route.dispatch (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:114:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at /home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/index.js:284:15
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/lines/select.js:33:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 10/01/2022 11:00:00 am, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:52:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/lines/select.js:33:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
TypeError: Cannot read property 'userRole' of undefined
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:37:18)
    at jwt.verify (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:13:7)
    at Object.module.exports [as verify] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:63:12)
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:10:9)
    at verifyTokenAndAdmin (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:35:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at next (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:144:13)
    at Route.dispatch (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:114:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at /home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/index.js:284:15
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.db.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/completeOrder/select.js:22:23)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 10/01/2022 11:00:00 am, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:52:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/lines/select.js:33:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
TypeError: Cannot read property 'userRole' of undefined
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:37:18)
    at jwt.verify (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:13:7)
    at /home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:133:14
    at getSecret (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:90:14)
    at Object.module.exports [as verify] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:94:10)
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:10:9)
    at verifyTokenAndAdmin (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:35:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at next (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:144:13)
    at Route.dispatch (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:114:3)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
TypeError: Cannot read property 'userRole' of undefined
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:37:18)
    at jwt.verify (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:13:7)
    at /home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:133:14
    at getSecret (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:90:14)
    at Object.module.exports [as verify] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:94:10)
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:10:9)
    at verifyTokenAndAdmin (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:35:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at next (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:144:13)
    at Route.dispatch (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:114:3)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
TypeError: Cannot read property 'userRole' of undefined
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:37:18)
    at jwt.verify (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:13:7)
    at /home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:133:14
    at getSecret (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:90:14)
    at Object.module.exports [as verify] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:94:10)
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:10:9)
    at verifyTokenAndAdmin (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:35:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at next (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:144:13)
    at Route.dispatch (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:114:3)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
TypeError: Cannot read property 'userRole' of undefined
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:37:18)
    at jwt.verify (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:13:7)
    at /home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:133:14
    at getSecret (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:90:14)
    at Object.module.exports [as verify] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:94:10)
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:10:9)
    at verifyTokenAndAdmin (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:35:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at next (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:144:13)
    at Route.dispatch (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:114:3)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
TypeError: Cannot read property 'userRole' of undefined
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:37:18)
    at jwt.verify (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:13:7)
    at /home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:133:14
    at getSecret (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:90:14)
    at Object.module.exports [as verify] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:94:10)
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:10:9)
    at verifyTokenAndAdmin (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:35:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at next (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:144:13)
    at Route.dispatch (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:114:3)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.db.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/completeOrder/select.js:22:23)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
TypeError: Cannot read property 'userRole' of undefined
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:37:18)
    at jwt.verify (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:13:7)
    at /home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:133:14
    at getSecret (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:90:14)
    at Object.module.exports [as verify] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:94:10)
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:10:9)
    at verifyTokenAndAdmin (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:35:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at next (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:144:13)
    at Route.dispatch (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:114:3)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
TypeError: Cannot read property 'userRole' of undefined
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:37:18)
    at jwt.verify (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:13:7)
    at /home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:133:14
    at getSecret (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:90:14)
    at Object.module.exports [as verify] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:94:10)
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:10:9)
    at verifyTokenAndAdmin (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:35:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at next (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:144:13)
    at Route.dispatch (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:114:3)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
TypeError: Cannot read property 'userRole' of undefined
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:37:18)
    at jwt.verify (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:13:7)
    at /home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:133:14
    at getSecret (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:90:14)
    at Object.module.exports [as verify] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:94:10)
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:10:9)
    at verifyTokenAndAdmin (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:35:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at next (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:144:13)
    at Route.dispatch (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:114:3)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
TypeError: Cannot read property 'userRole' of undefined
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:37:18)
    at jwt.verify (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:13:7)
    at /home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:133:14
    at getSecret (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:90:14)
    at Object.module.exports [as verify] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:94:10)
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:10:9)
    at verifyTokenAndAdmin (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:35:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at next (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:144:13)
    at Route.dispatch (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:114:3)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
TypeError: Cannot read property 'userRole' of undefined
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:37:18)
    at jwt.verify (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:13:7)
    at /home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:133:14
    at getSecret (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:90:14)
    at Object.module.exports [as verify] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:94:10)
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:10:9)
    at verifyTokenAndAdmin (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:35:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at next (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:144:13)
    at Route.dispatch (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:114:3)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
TypeError: Cannot read property 'userRole' of undefined
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:37:18)
    at jwt.verify (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:13:7)
    at /home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:133:14
    at getSecret (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:90:14)
    at Object.module.exports [as verify] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:94:10)
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:10:9)
    at verifyTokenAndAdmin (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:35:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at next (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:144:13)
    at Route.dispatch (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:114:3)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
TypeError: Cannot read property 'userRole' of undefined
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:37:18)
    at jwt.verify (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:13:7)
    at /home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:133:14
    at getSecret (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:90:14)
    at Object.module.exports [as verify] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:94:10)
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:10:9)
    at verifyTokenAndAdmin (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:35:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at next (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:144:13)
    at Route.dispatch (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:114:3)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
TypeError: Cannot read property 'userRole' of undefined
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:37:18)
    at jwt.verify (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:13:7)
    at /home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:152:16
    at getSecret (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:90:14)
    at Object.module.exports [as verify] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:94:10)
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:10:9)
    at verifyTokenAndAdmin (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:35:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at next (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:144:13)
    at Route.dispatch (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:114:3)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.db.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/completeOrder/select.js:22:23)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/lines/select.js:33:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
TypeError: Cannot read property 'userRole' of undefined
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:37:18)
    at jwt.verify (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:13:7)
    at /home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:133:14
    at getSecret (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:90:14)
    at Object.module.exports [as verify] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:94:10)
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:10:9)
    at verifyTokenAndAdmin (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:35:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at next (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:144:13)
    at Route.dispatch (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:114:3)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.db.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/stops/select.js:83:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
TypeError: Cannot read property 'userRole' of undefined
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:37:18)
    at jwt.verify (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:13:7)
    at /home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:133:14
    at getSecret (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:90:14)
    at Object.module.exports [as verify] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:94:10)
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:10:9)
    at verifyTokenAndAdmin (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:35:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at next (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:144:13)
    at Route.dispatch (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:114:3)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 10/02/2022, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/select.js:186:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/lines/select.js:33:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.db.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/orders/select.js:21:23)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
TypeError: Cannot read property 'userRole' of undefined
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:37:18)
    at jwt.verify (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:13:7)
    at /home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:152:16
    at getSecret (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:90:14)
    at Object.module.exports [as verify] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:94:10)
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:10:9)
    at verifyTokenAndAdmin (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:35:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at next (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:144:13)
    at Route.dispatch (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:114:3)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.db.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/completeOrder/select.js:22:23)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/lines/select.js:33:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: true, _useUTC: true, _l: undefined, _i: "10/03/2022 12:00:00 pm", _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:106:16)
    at Function.tz (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment-timezone/moment-timezone.js:562:22)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/orders/create.js:61:12)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 10/03/2022 12:00:00 pm, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:52:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
TypeError: Cannot read property 'userRole' of undefined
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:37:18)
    at jwt.verify (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:13:7)
    at /home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:152:16
    at getSecret (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:90:14)
    at Object.module.exports [as verify] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:94:10)
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:10:9)
    at verifyTokenAndAdmin (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:35:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at next (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:144:13)
    at Route.dispatch (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:114:3)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 10/04/2022 03:30:00 am, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:52:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/lines/select.js:33:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 10/04/2022 03:30:00 am, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:52:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/lines/select.js:33:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/lines/select.js:33:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 10/04/2022 03:30:00 am, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:52:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/lines/select.js:33:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 10/04/2022 03:30:00 am, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:52:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 10/04/2022 03:30:00 am, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:52:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 10/04/2022 03:30:00 am, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:52:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
TypeError: Cannot read property 'userRole' of undefined
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:37:18)
    at jwt.verify (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:13:7)
    at /home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:152:16
    at getSecret (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:90:14)
    at Object.module.exports [as verify] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:94:10)
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:10:9)
    at verifyTokenAndAdmin (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:35:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at next (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:144:13)
    at Route.dispatch (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:114:3)
TypeError: Cannot read property 'userRole' of undefined
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:37:18)
    at jwt.verify (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:13:7)
    at /home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:152:16
    at getSecret (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:90:14)
    at Object.module.exports [as verify] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:94:10)
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:10:9)
    at verifyTokenAndAdmin (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:35:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at next (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:144:13)
    at Route.dispatch (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:114:3)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
TypeError: Cannot read property 'userRole' of undefined
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:37:18)
    at jwt.verify (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:13:7)
    at Object.module.exports [as verify] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:63:12)
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:10:9)
    at verifyTokenAndAdmin (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:35:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at next (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:144:13)
    at Route.dispatch (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:114:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at /home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/index.js:284:15
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 10/13/2022, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:161:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/lines/select.js:33:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: true, _useUTC: true, _l: undefined, _i: "10/13/2022 12:50:00 pm", _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:106:16)
    at Function.tz (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment-timezone/moment-timezone.js:562:22)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/orders/create.js:61:12)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/lines/select.js:33:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
TypeError: Cannot read property 'userRole' of undefined
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:37:18)
    at jwt.verify (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:13:7)
    at Object.module.exports [as verify] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:63:12)
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:10:9)
    at verifyTokenAndAdmin (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:35:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at next (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:144:13)
    at Route.dispatch (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:114:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at /home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/index.js:284:15
TypeError: Cannot read property 'userRole' of undefined
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:37:18)
    at jwt.verify (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:13:7)
    at Object.module.exports [as verify] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:63:12)
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:10:9)
    at verifyTokenAndAdmin (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:35:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at next (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:144:13)
    at Route.dispatch (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:114:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at /home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/index.js:284:15
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.db.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/completeOrder/select.js:22:23)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 10/13/2022 12:50:00 pm, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 10/14/2022 12:50:00 pm, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 10/14/2022 12:50:00 pm, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 10/14/2022 12:50:00 pm, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 10/14/2022 12:50:00 pm, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 10/14/2022 12:50:00 pm, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 10/14/2022 12:50:00 pm, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 10/14/2022 12:50:00 pm, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 10/14/2022 12:50:00 pm, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.db.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/orders/select.js:21:23)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 10/14/2022 12:50:00 pm, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
TypeError: Cannot read property 'userRole' of undefined
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:37:18)
    at jwt.verify (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:13:7)
    at /home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:152:16
    at getSecret (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:90:14)
    at Object.module.exports [as verify] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:94:10)
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:10:9)
    at verifyTokenAndAdmin (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:35:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at next (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:144:13)
    at Route.dispatch (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:114:3)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/lines/select.js:33:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 10/14/2022 12:50:00 pm, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
TypeError: Cannot read property 'userRole' of undefined
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:37:18)
    at jwt.verify (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:13:7)
    at Object.module.exports [as verify] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:63:12)
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:10:9)
    at verifyTokenAndAdmin (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:35:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at next (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:144:13)
    at Route.dispatch (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:114:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at /home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/index.js:284:15
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/lines/select.js:33:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 10/14/2022 12:50:00 pm, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 10/14/2022 12:50:00 pm, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 10/14/2022 12:50:00 pm, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 10/14/2022 12:50:00 pm, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 10/14/2022 12:50:00 pm, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 10/14/2022 12:50:00 pm, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
TypeError: Cannot read property 'userRole' of undefined
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:37:18)
    at jwt.verify (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:13:7)
    at /home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:152:16
    at getSecret (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:90:14)
    at Object.module.exports [as verify] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:94:10)
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:10:9)
    at verifyTokenAndAdmin (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:35:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at next (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:144:13)
    at Route.dispatch (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:114:3)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 10/14/2022 12:50:00 pm, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
TypeError: Cannot read property 'userRole' of undefined
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:37:18)
    at jwt.verify (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:13:7)
    at /home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:152:16
    at getSecret (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:90:14)
    at Object.module.exports [as verify] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:94:10)
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:10:9)
    at verifyTokenAndAdmin (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:35:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at next (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:144:13)
    at Route.dispatch (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:114:3)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 10/14/2022 12:50:00 pm, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/lines/select.js:33:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 10/14/2022 12:50:00 pm, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
TypeError: Cannot read property 'userRole' of undefined
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:37:18)
    at jwt.verify (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:13:7)
    at /home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:152:16
    at getSecret (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:90:14)
    at Object.module.exports [as verify] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:94:10)
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:10:9)
    at verifyTokenAndAdmin (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:35:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at next (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:144:13)
    at Route.dispatch (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:114:3)
TypeError: Cannot read property 'userRole' of undefined
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:37:18)
    at jwt.verify (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:13:7)
    at /home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:152:16
    at getSecret (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:90:14)
    at Object.module.exports [as verify] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:94:10)
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:10:9)
    at verifyTokenAndAdmin (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:35:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at next (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:144:13)
    at Route.dispatch (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:114:3)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/lines/select.js:33:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/lines/select.js:33:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/lines/select.js:33:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
TypeError: Cannot read property 'userRole' of undefined
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:37:18)
    at jwt.verify (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:13:7)
    at /home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:133:14
    at getSecret (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:90:14)
    at Object.module.exports [as verify] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:94:10)
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:10:9)
    at verifyTokenAndAdmin (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:35:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at next (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:144:13)
    at Route.dispatch (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:114:3)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
TypeError: Cannot read property 'userRole' of undefined
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:37:18)
    at jwt.verify (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:13:7)
    at /home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:133:14
    at getSecret (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:90:14)
    at Object.module.exports [as verify] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:94:10)
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:10:9)
    at verifyTokenAndAdmin (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:35:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at next (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:144:13)
    at Route.dispatch (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:114:3)
TypeError: Cannot read property 'userRole' of undefined
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:37:18)
    at jwt.verify (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:13:7)
    at /home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:133:14
    at getSecret (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:90:14)
    at Object.module.exports [as verify] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:94:10)
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:10:9)
    at verifyTokenAndAdmin (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:35:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at next (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:144:13)
    at Route.dispatch (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:114:3)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/lines/select.js:33:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
TypeError: Cannot read property 'userRole' of undefined
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:37:18)
    at jwt.verify (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:13:7)
    at /home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:133:14
    at getSecret (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:90:14)
    at Object.module.exports [as verify] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:94:10)
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:10:9)
    at verifyTokenAndAdmin (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:35:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at next (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:144:13)
    at Route.dispatch (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:114:3)
TypeError: Cannot read property 'userRole' of undefined
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:37:18)
    at jwt.verify (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:13:7)
    at /home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:133:14
    at getSecret (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:90:14)
    at Object.module.exports [as verify] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:94:10)
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:10:9)
    at verifyTokenAndAdmin (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:35:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at next (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:144:13)
    at Route.dispatch (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:114:3)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
TypeError: Cannot read property 'userRole' of undefined
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:37:18)
    at jwt.verify (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:13:7)
    at /home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:133:14
    at getSecret (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:90:14)
    at Object.module.exports [as verify] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:94:10)
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:10:9)
    at verifyTokenAndAdmin (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:35:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at next (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:144:13)
    at Route.dispatch (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:114:3)
TypeError: Cannot read property 'userRole' of undefined
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:37:18)
    at jwt.verify (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:13:7)
    at /home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:133:14
    at getSecret (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:90:14)
    at Object.module.exports [as verify] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:94:10)
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:10:9)
    at verifyTokenAndAdmin (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:35:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at next (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:144:13)
    at Route.dispatch (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:114:3)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
TypeError: Cannot read property 'userRole' of undefined
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:37:18)
    at jwt.verify (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:13:7)
    at Object.module.exports [as verify] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:63:12)
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:10:9)
    at verifyTokenAndAdmin (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:35:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at next (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:144:13)
    at Route.dispatch (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:114:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at /home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/index.js:284:15
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
TypeError: Cannot read property 'userRole' of undefined
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:37:18)
    at jwt.verify (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:13:7)
    at /home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:152:16
    at getSecret (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:90:14)
    at Object.module.exports [as verify] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:94:10)
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:10:9)
    at verifyTokenAndAdmin (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:35:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at next (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:144:13)
    at Route.dispatch (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:114:3)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/lines/select.js:33:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/completeOrder/select.js:27:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/completeOrder/select.js:27:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
TypeError: Cannot read property 'userRole' of undefined
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:37:18)
    at jwt.verify (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:13:7)
    at /home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:152:16
    at getSecret (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:90:14)
    at Object.module.exports [as verify] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:94:10)
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:10:9)
    at verifyTokenAndAdmin (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:35:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at next (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:144:13)
    at Route.dispatch (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:114:3)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: true, _useUTC: true, _l: undefined, _i: "11/01/2022 11:30:00 am", _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:106:16)
    at Function.tz (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment-timezone/moment-timezone.js:562:22)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/orders/create.js:61:12)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
TypeError: Cannot read property 'userRole' of undefined
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:37:18)
    at jwt.verify (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:13:7)
    at /home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:152:16
    at getSecret (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:90:14)
    at Object.module.exports [as verify] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:94:10)
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:10:9)
    at verifyTokenAndAdmin (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:35:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at next (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:144:13)
    at Route.dispatch (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:114:3)
TypeError: Cannot read property 'userRole' of undefined
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:37:18)
    at jwt.verify (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:13:7)
    at /home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:152:16
    at getSecret (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:90:14)
    at Object.module.exports [as verify] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:94:10)
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:10:9)
    at verifyTokenAndAdmin (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:35:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at next (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:144:13)
    at Route.dispatch (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:114:3)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/lines/select.js:33:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 11/01/2022 11:30:00 am, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
TypeError: Cannot read property 'userRole' of undefined
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:37:18)
    at jwt.verify (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:13:7)
    at Object.module.exports [as verify] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:63:12)
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:10:9)
    at verifyTokenAndAdmin (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:35:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at next (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:144:13)
    at Route.dispatch (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:114:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at /home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/index.js:284:15
TypeError: Cannot read property 'userRole' of undefined
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:37:18)
    at jwt.verify (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:13:7)
    at Object.module.exports [as verify] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:63:12)
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:10:9)
    at verifyTokenAndAdmin (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:35:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at next (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:144:13)
    at Route.dispatch (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:114:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at /home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/index.js:284:15
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 11/01/2022 11:30:00 am, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 11/01/2022 11:30:00 am, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 11/01/2022 11:30:00 am, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: latestCauseData.at is not a function
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:518:49)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 11/01/2022 11:30:00 am, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: latestCauseData.at is not a function
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:518:49)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 11/01/2022 11:30:00 am, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: latestCauseData.at is not a function
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:518:49)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 11/01/2022 11:30:00 am, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: latestCauseData.at is not a function
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:518:49)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 11/01/2022 11:30:00 am, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: latestCauseData.at is not a function
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:518:49)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 11/01/2022 11:30:00 am, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: latestCauseData.at is not a function
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:518:49)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 11/01/2022 11:30:00 am, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: latestCauseData.at is not a function
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:518:49)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 11/01/2022 11:30:00 am, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: latestCauseData.at is not a function
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:518:49)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 11/01/2022 11:30:00 am, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: latestCauseData.at is not a function
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:518:49)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 11/01/2022 11:30:00 am, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: latestCauseData.at is not a function
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:518:49)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 11/01/2022 11:30:00 am, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: latestCauseData.at is not a function
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:518:49)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 11/01/2022 11:30:00 am, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: latestCauseData.at is not a function
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:518:49)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 11/01/2022 11:30:00 am, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 11/01/2022 11:30:00 am, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: latestCauseData.at is not a function
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:518:49)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 11/01/2022 11:30:00 am, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: latestCauseData.at is not a function
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:518:49)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 11/01/2022 11:30:00 am, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: latestCauseData.at is not a function
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:518:49)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 11/01/2022 11:30:00 am, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: latestCauseData.at is not a function
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:518:49)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 11/01/2022 11:30:00 am, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: latestCauseData.at is not a function
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:518:49)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 11/01/2022 11:30:00 am, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: latestCauseData.at is not a function
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:518:49)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 11/01/2022 11:30:00 am, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: latestCauseData.at is not a function
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:518:49)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 11/01/2022 11:30:00 am, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: latestCauseData.at is not a function
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:518:49)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 11/01/2022 11:30:00 am, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: latestCauseData.at is not a function
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:518:49)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 11/01/2022 11:30:00 am, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: latestCauseData.at is not a function
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:518:49)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 11/01/2022 11:30:00 am, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: latestCauseData.at is not a function
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:518:49)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 11/01/2022 11:30:00 am, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: latestCauseData.at is not a function
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:518:49)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 11/01/2022 11:30:00 am, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: latestCauseData.at is not a function
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:518:49)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 11/01/2022 11:30:00 am, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: latestCauseData.at is not a function
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:518:49)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 11/01/2022 11:30:00 am, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: latestCauseData.at is not a function
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:518:49)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 11/01/2022 11:30:00 am, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: latestCauseData.at is not a function
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:518:49)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 11/01/2022 11:30:00 am, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: latestCauseData.at is not a function
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:518:49)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 11/01/2022 11:30:00 am, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: latestCauseData.at is not a function
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:518:49)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 11/01/2022 11:30:00 am, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: latestCauseData.at is not a function
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:518:49)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 11/01/2022 11:30:00 am, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: latestCauseData.at is not a function
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:518:49)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 11/01/2022 11:30:00 am, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: latestCauseData.at is not a function
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:518:49)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 11/01/2022 11:30:00 am, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: latestCauseData.at is not a function
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:518:49)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 11/01/2022 11:30:00 am, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: latestCauseData.at is not a function
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:518:49)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 11/01/2022 11:30:00 am, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: latestCauseData.at is not a function
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:518:49)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 11/01/2022 11:30:00 am, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/stops/select.js:28:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 11/01/2022, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:163:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: latestCauseData.at is not a function
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:514:49)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: latestCauseData.at is not a function
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:514:49)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: true, _useUTC: true, _l: undefined, _i: "11/02/2022 10:55:00 am", _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:106:16)
    at Function.tz (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment-timezone/moment-timezone.js:562:22)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/orders/create.js:61:12)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: latestCauseData.at is not a function
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:514:49)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: true, _useUTC: true, _l: undefined, _i: "11/02/2022 04:00:00 pm", _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:106:16)
    at Function.tz (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment-timezone/moment-timezone.js:562:22)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/orders/create.js:61:12)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: true, _useUTC: true, _l: undefined, _i: "11/03/2022 07:15:00 am", _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:106:16)
    at Function.tz (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment-timezone/moment-timezone.js:562:22)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/orders/create.js:61:12)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: latestCauseData.at is not a function
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:514:49)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 11/02/2022 10:55:00 am, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: latestCauseData.at is not a function
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:514:49)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 11/02/2022 10:55:00 am, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: latestCauseData.at is not a function
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:514:49)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 11/02/2022 10:55:00 am, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: latestCauseData.at is not a function
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:514:49)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 11/02/2022 10:55:00 am, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 11/02/2022 10:55:00 am, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 11/02/2022 10:55:00 am, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: latestCauseData.at is not a function
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:514:49)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:33
        await db.getConnection(async (err, connection) => {
        ^^^^^

SyntaxError: await is only valid in async function
    at Module._compile (internal/modules/cjs/loader.js:723:23)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home2/pakis104/oeeb.pakistanautomation.com.pk/app.js:97:26)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:33
        await db.getConnection(async (err, connection) => {
        ^^^^^

SyntaxError: await is only valid in async function
    at Module._compile (internal/modules/cjs/loader.js:723:23)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home2/pakis104/oeeb.pakistanautomation.com.pk/app.js:97:26)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:33
        await db.getConnection(async (err, connection) => {
        ^^^^^

SyntaxError: await is only valid in async function
    at Module._compile (internal/modules/cjs/loader.js:723:23)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home2/pakis104/oeeb.pakistanautomation.com.pk/app.js:97:26)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:33
        await db.getConnection(async (err, connection) => {
        ^^^^^

SyntaxError: await is only valid in async function
    at Module._compile (internal/modules/cjs/loader.js:723:23)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home2/pakis104/oeeb.pakistanautomation.com.pk/app.js:97:26)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:33
        await db.getConnection(async (err, connection) => {
        ^^^^^

SyntaxError: await is only valid in async function
    at Module._compile (internal/modules/cjs/loader.js:723:23)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home2/pakis104/oeeb.pakistanautomation.com.pk/app.js:97:26)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:33
        await db.getConnection(async (err, connection) => {
        ^^^^^

SyntaxError: await is only valid in async function
    at Module._compile (internal/modules/cjs/loader.js:723:23)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home2/pakis104/oeeb.pakistanautomation.com.pk/app.js:97:26)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:33
        await db.getConnection(async (err, connection) => {
        ^^^^^

SyntaxError: await is only valid in async function
    at Module._compile (internal/modules/cjs/loader.js:723:23)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home2/pakis104/oeeb.pakistanautomation.com.pk/app.js:97:26)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:33
        await db.getConnection(async (err, connection) => {
        ^^^^^

SyntaxError: await is only valid in async function
    at Module._compile (internal/modules/cjs/loader.js:723:23)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home2/pakis104/oeeb.pakistanautomation.com.pk/app.js:97:26)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:33
        await db.getConnection(async (err, connection) => {
        ^^^^^

SyntaxError: await is only valid in async function
    at Module._compile (internal/modules/cjs/loader.js:723:23)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home2/pakis104/oeeb.pakistanautomation.com.pk/app.js:97:26)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:33
        await db.getConnection(async (err, connection) => {
        ^^^^^

SyntaxError: await is only valid in async function
    at Module._compile (internal/modules/cjs/loader.js:723:23)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home2/pakis104/oeeb.pakistanautomation.com.pk/app.js:97:26)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:33
        await db.getConnection(async (err, connection) => {
        ^^^^^

SyntaxError: await is only valid in async function
    at Module._compile (internal/modules/cjs/loader.js:723:23)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home2/pakis104/oeeb.pakistanautomation.com.pk/app.js:97:26)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:33
        await db.getConnection(async (err, connection) => {
        ^^^^^

SyntaxError: await is only valid in async function
    at Module._compile (internal/modules/cjs/loader.js:723:23)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home2/pakis104/oeeb.pakistanautomation.com.pk/app.js:97:26)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
Exception ignored in: <_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'>
BrokenPipeError: [Errno 32] Broken pipe
/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:33
        await db.getConnection(async (err, connection) => {
        ^^^^^

SyntaxError: await is only valid in async function
    at Module._compile (internal/modules/cjs/loader.js:723:23)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home2/pakis104/oeeb.pakistanautomation.com.pk/app.js:97:26)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:33
        await db.getConnection(async (err, connection) => {
        ^^^^^

SyntaxError: await is only valid in async function
    at Module._compile (internal/modules/cjs/loader.js:723:23)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home2/pakis104/oeeb.pakistanautomation.com.pk/app.js:97:26)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:33
        await db.getConnection(async (err, connection) => {
        ^^^^^

SyntaxError: await is only valid in async function
    at Module._compile (internal/modules/cjs/loader.js:723:23)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home2/pakis104/oeeb.pakistanautomation.com.pk/app.js:97:26)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:33
        await db.getConnection(async (err, connection) => {
        ^^^^^

SyntaxError: await is only valid in async function
    at Module._compile (internal/modules/cjs/loader.js:723:23)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home2/pakis104/oeeb.pakistanautomation.com.pk/app.js:97:26)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:33
        await db.getConnection(async (err, connection) => {
        ^^^^^

SyntaxError: await is only valid in async function
    at Module._compile (internal/modules/cjs/loader.js:723:23)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home2/pakis104/oeeb.pakistanautomation.com.pk/app.js:97:26)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:33
        await db.getConnection(async (err, connection) => {
        ^^^^^

SyntaxError: await is only valid in async function
    at Module._compile (internal/modules/cjs/loader.js:723:23)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home2/pakis104/oeeb.pakistanautomation.com.pk/app.js:97:26)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:33
        await db.getConnection(async (err, connection) => {
        ^^^^^

SyntaxError: await is only valid in async function
    at Module._compile (internal/modules/cjs/loader.js:723:23)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home2/pakis104/oeeb.pakistanautomation.com.pk/app.js:97:26)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:33
        await db.getConnection(async (err, connection) => {
        ^^^^^

SyntaxError: await is only valid in async function
    at Module._compile (internal/modules/cjs/loader.js:723:23)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home2/pakis104/oeeb.pakistanautomation.com.pk/app.js:97:26)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:33
        await db.getConnection(async (err, connection) => {
        ^^^^^

SyntaxError: await is only valid in async function
    at Module._compile (internal/modules/cjs/loader.js:723:23)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home2/pakis104/oeeb.pakistanautomation.com.pk/app.js:97:26)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:33
        await db.getConnection(async (err, connection) => {
        ^^^^^

SyntaxError: await is only valid in async function
    at Module._compile (internal/modules/cjs/loader.js:723:23)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home2/pakis104/oeeb.pakistanautomation.com.pk/app.js:97:26)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:33
        await db.getConnection(async (err, connection) => {
        ^^^^^

SyntaxError: await is only valid in async function
    at Module._compile (internal/modules/cjs/loader.js:723:23)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home2/pakis104/oeeb.pakistanautomation.com.pk/app.js:97:26)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:33
        await db.getConnection(async (err, connection) => {
        ^^^^^

SyntaxError: await is only valid in async function
    at Module._compile (internal/modules/cjs/loader.js:723:23)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home2/pakis104/oeeb.pakistanautomation.com.pk/app.js:97:26)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:33
        await db.getConnection(async (err, connection) => {
        ^^^^^

SyntaxError: await is only valid in async function
    at Module._compile (internal/modules/cjs/loader.js:723:23)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home2/pakis104/oeeb.pakistanautomation.com.pk/app.js:97:26)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:33
        await db.getConnection(async (err, connection) => {
        ^^^^^

SyntaxError: await is only valid in async function
    at Module._compile (internal/modules/cjs/loader.js:723:23)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home2/pakis104/oeeb.pakistanautomation.com.pk/app.js:97:26)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:33
        await db.getConnection(async (err, connection) => {
        ^^^^^

SyntaxError: await is only valid in async function
    at Module._compile (internal/modules/cjs/loader.js:723:23)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home2/pakis104/oeeb.pakistanautomation.com.pk/app.js:97:26)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:33
        await db.getConnection(async (err, connection) => {
        ^^^^^

SyntaxError: await is only valid in async function
    at Module._compile (internal/modules/cjs/loader.js:723:23)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home2/pakis104/oeeb.pakistanautomation.com.pk/app.js:97:26)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:33
        await db.getConnection(async (err, connection) => {
        ^^^^^

SyntaxError: await is only valid in async function
    at Module._compile (internal/modules/cjs/loader.js:723:23)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home2/pakis104/oeeb.pakistanautomation.com.pk/app.js:97:26)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:33
        await db.getConnection(async (err, connection) => {
        ^^^^^

SyntaxError: await is only valid in async function
    at Module._compile (internal/modules/cjs/loader.js:723:23)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home2/pakis104/oeeb.pakistanautomation.com.pk/app.js:97:26)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:33
        await db.getConnection(async (err, connection) => {
        ^^^^^

SyntaxError: await is only valid in async function
    at Module._compile (internal/modules/cjs/loader.js:723:23)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home2/pakis104/oeeb.pakistanautomation.com.pk/app.js:97:26)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:33
        await db.getConnection(async (err, connection) => {
        ^^^^^

SyntaxError: await is only valid in async function
    at Module._compile (internal/modules/cjs/loader.js:723:23)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home2/pakis104/oeeb.pakistanautomation.com.pk/app.js:97:26)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:33
        await db.getConnection(async (err, connection) => {
        ^^^^^

SyntaxError: await is only valid in async function
    at Module._compile (internal/modules/cjs/loader.js:723:23)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home2/pakis104/oeeb.pakistanautomation.com.pk/app.js:97:26)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:33
        await db.getConnection(async (err, connection) => {
        ^^^^^

SyntaxError: await is only valid in async function
    at Module._compile (internal/modules/cjs/loader.js:723:23)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home2/pakis104/oeeb.pakistanautomation.com.pk/app.js:97:26)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:33
        await db.getConnection(async (err, connection) => {
        ^^^^^

SyntaxError: await is only valid in async function
    at Module._compile (internal/modules/cjs/loader.js:723:23)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home2/pakis104/oeeb.pakistanautomation.com.pk/app.js:97:26)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:33
        await db.getConnection(async (err, connection) => {
        ^^^^^

SyntaxError: await is only valid in async function
    at Module._compile (internal/modules/cjs/loader.js:723:23)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home2/pakis104/oeeb.pakistanautomation.com.pk/app.js:97:26)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:33
        await db.getConnection(async (err, connection) => {
        ^^^^^

SyntaxError: await is only valid in async function
    at Module._compile (internal/modules/cjs/loader.js:723:23)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home2/pakis104/oeeb.pakistanautomation.com.pk/app.js:97:26)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:33
        await db.getConnection(async (err, connection) => {
        ^^^^^

SyntaxError: await is only valid in async function
    at Module._compile (internal/modules/cjs/loader.js:723:23)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home2/pakis104/oeeb.pakistanautomation.com.pk/app.js:97:26)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:33
        await db.getConnection(async (err, connection) => {
        ^^^^^

SyntaxError: await is only valid in async function
    at Module._compile (internal/modules/cjs/loader.js:723:23)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home2/pakis104/oeeb.pakistanautomation.com.pk/app.js:97:26)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:33
        await db.getConnection(async (err, connection) => {
        ^^^^^

SyntaxError: await is only valid in async function
    at Module._compile (internal/modules/cjs/loader.js:723:23)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home2/pakis104/oeeb.pakistanautomation.com.pk/app.js:97:26)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:33
        await db.getConnection(async (err, connection) => {
        ^^^^^

SyntaxError: await is only valid in async function
    at Module._compile (internal/modules/cjs/loader.js:723:23)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home2/pakis104/oeeb.pakistanautomation.com.pk/app.js:97:26)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:33
        await db.getConnection(async (err, connection) => {
        ^^^^^

SyntaxError: await is only valid in async function
    at Module._compile (internal/modules/cjs/loader.js:723:23)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home2/pakis104/oeeb.pakistanautomation.com.pk/app.js:97:26)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:33
        await db.getConnection(async (err, connection) => {
        ^^^^^

SyntaxError: await is only valid in async function
    at Module._compile (internal/modules/cjs/loader.js:723:23)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home2/pakis104/oeeb.pakistanautomation.com.pk/app.js:97:26)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:33
        await db.getConnection(async (err, connection) => {
        ^^^^^

SyntaxError: await is only valid in async function
    at Module._compile (internal/modules/cjs/loader.js:723:23)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home2/pakis104/oeeb.pakistanautomation.com.pk/app.js:97:26)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:33
        await db.getConnection(async (err, connection) => {
        ^^^^^

SyntaxError: await is only valid in async function
    at Module._compile (internal/modules/cjs/loader.js:723:23)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home2/pakis104/oeeb.pakistanautomation.com.pk/app.js:97:26)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:33
        await db.getConnection(async (err, connection) => {
        ^^^^^

SyntaxError: await is only valid in async function
    at Module._compile (internal/modules/cjs/loader.js:723:23)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home2/pakis104/oeeb.pakistanautomation.com.pk/app.js:97:26)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:33
        await db.getConnection(async (err, connection) => {
        ^^^^^

SyntaxError: await is only valid in async function
    at Module._compile (internal/modules/cjs/loader.js:723:23)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home2/pakis104/oeeb.pakistanautomation.com.pk/app.js:97:26)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:33
        await db.getConnection(async (err, connection) => {
        ^^^^^

SyntaxError: await is only valid in async function
    at Module._compile (internal/modules/cjs/loader.js:723:23)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home2/pakis104/oeeb.pakistanautomation.com.pk/app.js:97:26)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:33
        await db.getConnection(async (err, connection) => {
        ^^^^^

SyntaxError: await is only valid in async function
    at Module._compile (internal/modules/cjs/loader.js:723:23)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home2/pakis104/oeeb.pakistanautomation.com.pk/app.js:97:26)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:33
        await db.getConnection(async (err, connection) => {
        ^^^^^

SyntaxError: await is only valid in async function
    at Module._compile (internal/modules/cjs/loader.js:723:23)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home2/pakis104/oeeb.pakistanautomation.com.pk/app.js:97:26)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:33
        await db.getConnection(async (err, connection) => {
        ^^^^^

SyntaxError: await is only valid in async function
    at Module._compile (internal/modules/cjs/loader.js:723:23)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home2/pakis104/oeeb.pakistanautomation.com.pk/app.js:97:26)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:33
        await db.getConnection(async (err, connection) => {
        ^^^^^

SyntaxError: await is only valid in async function
    at Module._compile (internal/modules/cjs/loader.js:723:23)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home2/pakis104/oeeb.pakistanautomation.com.pk/app.js:97:26)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:33
        await db.getConnection(async (err, connection) => {
        ^^^^^

SyntaxError: await is only valid in async function
    at Module._compile (internal/modules/cjs/loader.js:723:23)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home2/pakis104/oeeb.pakistanautomation.com.pk/app.js:97:26)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:33
        await db.getConnection(async (err, connection) => {
        ^^^^^

SyntaxError: await is only valid in async function
    at Module._compile (internal/modules/cjs/loader.js:723:23)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home2/pakis104/oeeb.pakistanautomation.com.pk/app.js:97:26)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:33
        await db.getConnection(async (err, connection) => {
        ^^^^^

SyntaxError: await is only valid in async function
    at Module._compile (internal/modules/cjs/loader.js:723:23)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home2/pakis104/oeeb.pakistanautomation.com.pk/app.js:97:26)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:33
        await db.getConnection(async (err, connection) => {
        ^^^^^

SyntaxError: await is only valid in async function
    at Module._compile (internal/modules/cjs/loader.js:723:23)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home2/pakis104/oeeb.pakistanautomation.com.pk/app.js:97:26)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:33
        await db.getConnection(async (err, connection) => {
        ^^^^^

SyntaxError: await is only valid in async function
    at Module._compile (internal/modules/cjs/loader.js:723:23)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home2/pakis104/oeeb.pakistanautomation.com.pk/app.js:97:26)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:33
        await db.getConnection(async (err, connection) => {
        ^^^^^

SyntaxError: await is only valid in async function
    at Module._compile (internal/modules/cjs/loader.js:723:23)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home2/pakis104/oeeb.pakistanautomation.com.pk/app.js:97:26)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:33
        await db.getConnection(async (err, connection) => {
        ^^^^^

SyntaxError: await is only valid in async function
    at Module._compile (internal/modules/cjs/loader.js:723:23)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home2/pakis104/oeeb.pakistanautomation.com.pk/app.js:97:26)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:33
        await db.getConnection(async (err, connection) => {
        ^^^^^

SyntaxError: await is only valid in async function
    at Module._compile (internal/modules/cjs/loader.js:723:23)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home2/pakis104/oeeb.pakistanautomation.com.pk/app.js:97:26)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:33
        await db.getConnection(async (err, connection) => {
        ^^^^^

SyntaxError: await is only valid in async function
    at Module._compile (internal/modules/cjs/loader.js:723:23)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home2/pakis104/oeeb.pakistanautomation.com.pk/app.js:97:26)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:33
        await db.getConnection(async (err, connection) => {
        ^^^^^

SyntaxError: await is only valid in async function
    at Module._compile (internal/modules/cjs/loader.js:723:23)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home2/pakis104/oeeb.pakistanautomation.com.pk/app.js:97:26)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:33
        await db.getConnection(async (err, connection) => {
        ^^^^^

SyntaxError: await is only valid in async function
    at Module._compile (internal/modules/cjs/loader.js:723:23)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home2/pakis104/oeeb.pakistanautomation.com.pk/app.js:97:26)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:33
        await db.getConnection(async (err, connection) => {
        ^^^^^

SyntaxError: await is only valid in async function
    at Module._compile (internal/modules/cjs/loader.js:723:23)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home2/pakis104/oeeb.pakistanautomation.com.pk/app.js:97:26)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:33
        await db.getConnection(async (err, connection) => {
        ^^^^^

SyntaxError: await is only valid in async function
    at Module._compile (internal/modules/cjs/loader.js:723:23)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home2/pakis104/oeeb.pakistanautomation.com.pk/app.js:97:26)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:33
        await db.getConnection(async (err, connection) => {
        ^^^^^

SyntaxError: await is only valid in async function
    at Module._compile (internal/modules/cjs/loader.js:723:23)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home2/pakis104/oeeb.pakistanautomation.com.pk/app.js:97:26)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:33
        await db.getConnection(async (err, connection) => {
        ^^^^^

SyntaxError: await is only valid in async function
    at Module._compile (internal/modules/cjs/loader.js:723:23)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home2/pakis104/oeeb.pakistanautomation.com.pk/app.js:97:26)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:33
        await db.getConnection(async (err, connection) => {
        ^^^^^

SyntaxError: await is only valid in async function
    at Module._compile (internal/modules/cjs/loader.js:723:23)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home2/pakis104/oeeb.pakistanautomation.com.pk/app.js:97:26)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:33
        await db.getConnection(async (err, connection) => {
        ^^^^^

SyntaxError: await is only valid in async function
    at Module._compile (internal/modules/cjs/loader.js:723:23)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home2/pakis104/oeeb.pakistanautomation.com.pk/app.js:97:26)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:33
        await db.getConnection(async (err, connection) => {
        ^^^^^

SyntaxError: await is only valid in async function
    at Module._compile (internal/modules/cjs/loader.js:723:23)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home2/pakis104/oeeb.pakistanautomation.com.pk/app.js:97:26)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:33
        await db.getConnection(async (err, connection) => {
        ^^^^^

SyntaxError: await is only valid in async function
    at Module._compile (internal/modules/cjs/loader.js:723:23)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home2/pakis104/oeeb.pakistanautomation.com.pk/app.js:97:26)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:33
        await db.getConnection(async (err, connection) => {
        ^^^^^

SyntaxError: await is only valid in async function
    at Module._compile (internal/modules/cjs/loader.js:723:23)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home2/pakis104/oeeb.pakistanautomation.com.pk/app.js:97:26)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:33
        await db.getConnection(async (err, connection) => {
        ^^^^^

SyntaxError: await is only valid in async function
    at Module._compile (internal/modules/cjs/loader.js:723:23)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home2/pakis104/oeeb.pakistanautomation.com.pk/app.js:97:26)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:33
        await db.getConnection(async (err, connection) => {
        ^^^^^

SyntaxError: await is only valid in async function
    at Module._compile (internal/modules/cjs/loader.js:723:23)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home2/pakis104/oeeb.pakistanautomation.com.pk/app.js:97:26)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:33
        await db.getConnection(async (err, connection) => {
        ^^^^^

SyntaxError: await is only valid in async function
    at Module._compile (internal/modules/cjs/loader.js:723:23)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home2/pakis104/oeeb.pakistanautomation.com.pk/app.js:97:26)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:33
        await db.getConnection(async (err, connection) => {
        ^^^^^

SyntaxError: await is only valid in async function
    at Module._compile (internal/modules/cjs/loader.js:723:23)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home2/pakis104/oeeb.pakistanautomation.com.pk/app.js:97:26)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:33
        await db.getConnection(async (err, connection) => {
        ^^^^^

SyntaxError: await is only valid in async function
    at Module._compile (internal/modules/cjs/loader.js:723:23)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home2/pakis104/oeeb.pakistanautomation.com.pk/app.js:97:26)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:33
        await db.getConnection(async (err, connection) => {
        ^^^^^

SyntaxError: await is only valid in async function
    at Module._compile (internal/modules/cjs/loader.js:723:23)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home2/pakis104/oeeb.pakistanautomation.com.pk/app.js:97:26)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:33
        await db.getConnection(async (err, connection) => {
        ^^^^^

SyntaxError: await is only valid in async function
    at Module._compile (internal/modules/cjs/loader.js:723:23)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home2/pakis104/oeeb.pakistanautomation.com.pk/app.js:97:26)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:33
        await db.getConnection(async (err, connection) => {
        ^^^^^

SyntaxError: await is only valid in async function
    at Module._compile (internal/modules/cjs/loader.js:723:23)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home2/pakis104/oeeb.pakistanautomation.com.pk/app.js:97:26)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:33
        await db.getConnection(async (err, connection) => {
        ^^^^^

SyntaxError: await is only valid in async function
    at Module._compile (internal/modules/cjs/loader.js:723:23)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home2/pakis104/oeeb.pakistanautomation.com.pk/app.js:97:26)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:33
        await db.getConnection(async (err, connection) => {
        ^^^^^

SyntaxError: await is only valid in async function
    at Module._compile (internal/modules/cjs/loader.js:723:23)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home2/pakis104/oeeb.pakistanautomation.com.pk/app.js:97:26)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 11/02/2022 10:55:00 am, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: latestCauseData.at is not a function
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:514:49)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 11/02/2022 10:55:00 am, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: latestCauseData.at is not a function
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:514:49)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 11/02/2022 10:55:00 am, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: latestCauseData.at is not a function
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:514:49)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 11/02/2022 10:55:00 am, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 11/02/2022 10:55:00 am, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 11/02/2022 10:55:00 am, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: latestCauseData.at is not a function
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:513:49)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 11/02/2022 10:55:00 am, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: latestCauseData.at is not a function
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:513:49)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 11/02/2022 10:55:00 am, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: latestCauseData.at is not a function
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:513:49)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 11/02/2022 10:55:00 am, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: latestCauseData.at is not a function
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:513:49)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 11/02/2022 10:55:00 am, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: latestCauseData.at is not a function
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:513:49)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 11/02/2022 10:55:00 am, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: latestCauseData.at is not a function
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:513:49)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 11/02/2022 10:55:00 am, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: latestCauseData.at is not a function
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:513:49)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 11/02/2022 10:55:00 am, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: latestCauseData.at is not a function
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:513:49)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 11/02/2022 10:55:00 am, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: latestCauseData.at is not a function
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:513:49)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 11/02/2022 10:55:00 am, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: latestCauseData.at is not a function
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:513:49)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 11/02/2022 10:55:00 am, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: latestCauseData.at is not a function
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:513:49)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 11/02/2022 10:55:00 am, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: latestCauseData.at is not a function
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:513:49)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 11/02/2022 10:55:00 am, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 11/02/2022 10:55:00 am, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 11/02/2022 10:55:00 am, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 11/02/2022 10:55:00 am, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
TypeError: Cannot read property 'userRole' of undefined
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:37:18)
    at jwt.verify (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:13:7)
    at /home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:152:16
    at getSecret (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:90:14)
    at Object.module.exports [as verify] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:94:10)
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:10:9)
    at verifyTokenAndAdmin (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:35:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at next (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:144:13)
    at Route.dispatch (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:114:3)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/stops/select.js:28:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 11/02/2022, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:162:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 11/02/2022, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:162:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:514:79)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:514:79)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:514:79)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 11/03/2022 10:55:00 am, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:514:79)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 11/03/2022 10:55:00 am, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:514:79)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 11/03/2022 10:55:00 am, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:514:79)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 11/03/2022 10:55:00 am, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:514:79)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 11/03/2022 10:55:00 am, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:514:79)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 11/03/2022 10:55:00 am, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 11/03/2022 10:55:00 am, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 11/03/2022 10:55:00 am, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'id' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:400:55)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 11/03/2022 10:55:00 am, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'id' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:400:55)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 11/03/2022 10:55:00 am, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 11/03/2022 10:55:00 am, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 11/03/2022 10:55:00 am, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/completeOrder/select.js:27:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 11/03/2022 10:55:00 am, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 11/03/2022 10:55:00 am, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 11/03/2022 10:55:00 am, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 11/03/2022 10:55:00 am, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 11/03/2022 10:55:00 am, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 11/03/2022 10:55:00 am, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
TypeError: Cannot read property 'userRole' of undefined
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:37:18)
    at jwt.verify (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:13:7)
    at /home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:152:16
    at getSecret (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:90:14)
    at Object.module.exports [as verify] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:94:10)
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:10:9)
    at verifyTokenAndAdmin (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:35:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at next (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:144:13)
    at Route.dispatch (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:114:3)
TypeError: Cannot read property 'userRole' of undefined
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:37:18)
    at jwt.verify (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:13:7)
    at /home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:152:16
    at getSecret (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:90:14)
    at Object.module.exports [as verify] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:94:10)
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:10:9)
    at verifyTokenAndAdmin (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:35:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at next (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:144:13)
    at Route.dispatch (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:114:3)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 11/03/2022 10:55:00 am, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
TypeError: Cannot read property 'userRole' of undefined
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:37:18)
    at jwt.verify (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:13:7)
    at /home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:152:16
    at getSecret (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:90:14)
    at Object.module.exports [as verify] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:94:10)
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:10:9)
    at verifyTokenAndAdmin (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:35:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at next (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:144:13)
    at Route.dispatch (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:114:3)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/completeOrder/select.js:27:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 11/03/2022 10:55:00 am, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/lines/select.js:33:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 11/03/2022 10:55:00 am, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 11/03/2022 10:55:00 am, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 11/03/2022 10:55:00 am, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 11/03/2022, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:162:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
TypeError: Cannot read property 'userRole' of undefined
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:37:18)
    at jwt.verify (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:13:7)
    at Object.module.exports [as verify] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:63:12)
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:10:9)
    at verifyTokenAndAdmin (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:35:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at next (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:144:13)
    at Route.dispatch (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:114:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at /home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/index.js:284:15
TypeError: Cannot read property 'userRole' of undefined
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:37:18)
    at jwt.verify (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:13:7)
    at Object.module.exports [as verify] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:63:12)
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:10:9)
    at verifyTokenAndAdmin (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:35:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at next (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:144:13)
    at Route.dispatch (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:114:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at /home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/index.js:284:15
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/stops/select.js:28:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 11/03/2022, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:162:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 11/03/2022 10:55:00 am, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 11/03/2022 10:55:00 am, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 11/03/2022, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:162:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
Exception ignored in: <_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'>
BrokenPipeError: [Errno 32] Broken pipe
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: true, _useUTC: true, _l: undefined, _i: "11/04/2022 04:00:00 pm", _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:106:16)
    at Function.tz (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment-timezone/moment-timezone.js:562:22)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/orders/create.js:61:12)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 11/03/2022 10:55:00 am, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 11/03/2022 10:55:00 am, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 11/03/2022 10:55:00 am, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 11/03/2022 10:55:00 am, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 11/03/2022 10:55:00 am, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 11/03/2022 10:55:00 am, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 11/06/2022, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:162:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:544:61)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:544:61)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:544:61)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:544:61)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:544:61)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
TypeError: Cannot read property 'userRole' of undefined
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:37:18)
    at jwt.verify (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:13:7)
    at /home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:152:16
    at getSecret (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:90:14)
    at Object.module.exports [as verify] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:94:10)
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:10:9)
    at verifyTokenAndAdmin (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:35:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at next (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:144:13)
    at Route.dispatch (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:114:3)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:544:61)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: true, _useUTC: true, _l: undefined, _i: "11/07/2022 11:23:37 am", _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:106:16)
    at Function.tz (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment-timezone/moment-timezone.js:562:22)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/orders/create.js:61:12)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:544:61)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:544:61)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: true, _useUTC: true, _l: undefined, _i: "11/07/2022 12:52:03 pm", _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:106:16)
    at Function.tz (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment-timezone/moment-timezone.js:562:22)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/orders/create.js:61:12)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:544:61)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:544:61)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:544:61)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:544:61)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:544:61)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:544:61)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:544:61)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:544:61)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:544:61)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:544:61)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:544:61)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:544:61)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:544:61)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:544:61)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:544:61)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:544:61)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:544:61)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:544:61)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:544:61)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:544:61)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:544:61)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:544:61)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:544:61)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
TypeError: Cannot read property 'userRole' of undefined
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:37:18)
    at jwt.verify (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:13:7)
    at /home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:152:16
    at getSecret (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:90:14)
    at Object.module.exports [as verify] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:94:10)
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:10:9)
    at verifyTokenAndAdmin (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:35:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at next (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:144:13)
    at Route.dispatch (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:114:3)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.db.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/stops/select.js:99:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:544:61)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:544:61)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:544:61)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:544:61)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:544:61)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:544:61)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:544:61)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:544:61)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
TypeError: Cannot read property 'userRole' of undefined
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:37:18)
    at jwt.verify (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:13:7)
    at /home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:152:16
    at getSecret (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:90:14)
    at Object.module.exports [as verify] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:94:10)
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:10:9)
    at verifyTokenAndAdmin (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:35:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at next (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:144:13)
    at Route.dispatch (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:114:3)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/completeOrder/select.js:27:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.db.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/stops/select.js:99:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.db.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/stops/select.js:83:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:544:61)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
TypeError: Cannot read property 'userRole' of undefined
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:37:18)
    at jwt.verify (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:13:7)
    at /home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:152:16
    at getSecret (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:90:14)
    at Object.module.exports [as verify] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:94:10)
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:10:9)
    at verifyTokenAndAdmin (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:35:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at next (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:144:13)
    at Route.dispatch (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:114:3)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/stops/select.js:28:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:544:61)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:544:61)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:544:61)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:544:61)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.db.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/stops/select.js:99:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
TypeError: Cannot read property 'userRole' of undefined
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:37:18)
    at jwt.verify (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:13:7)
    at /home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:152:16
    at getSecret (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:90:14)
    at Object.module.exports [as verify] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:94:10)
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:10:9)
    at verifyTokenAndAdmin (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:35:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at next (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:144:13)
    at Route.dispatch (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:114:3)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/completeOrder/select.js:27:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.db.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/stops/select.js:99:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/completeOrder/select.js:27:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/completeOrder/select.js:27:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
TypeError: Cannot read property 'userRole' of undefined
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:37:18)
    at jwt.verify (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:13:7)
    at /home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:152:16
    at getSecret (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:90:14)
    at Object.module.exports [as verify] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:94:10)
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:10:9)
    at verifyTokenAndAdmin (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:35:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at next (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:144:13)
    at Route.dispatch (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:114:3)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/completeOrder/select.js:27:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/lines/select.js:33:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/sku/select.js:28:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/team/select.js:35:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
TypeError: Cannot read property 'userRole' of undefined
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:37:18)
    at jwt.verify (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:13:7)
    at /home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:152:16
    at getSecret (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:90:14)
    at Object.module.exports [as verify] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:94:10)
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:10:9)
    at verifyTokenAndAdmin (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:35:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at next (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:144:13)
    at Route.dispatch (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:114:3)
TypeError: Cannot read property 'userRole' of undefined
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:37:18)
    at jwt.verify (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:13:7)
    at /home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:152:16
    at getSecret (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:90:14)
    at Object.module.exports [as verify] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:94:10)
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:10:9)
    at verifyTokenAndAdmin (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:35:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at next (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:144:13)
    at Route.dispatch (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:114:3)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:544:61)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:544:61)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
TypeError: Cannot read property 'userRole' of undefined
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:37:18)
    at jwt.verify (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:13:7)
    at /home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:152:16
    at getSecret (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:90:14)
    at Object.module.exports [as verify] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:94:10)
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:10:9)
    at verifyTokenAndAdmin (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:35:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at next (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:144:13)
    at Route.dispatch (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:114:3)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:544:61)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:544:61)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:544:61)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:544:61)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:544:61)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:544:61)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:544:61)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:544:61)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:544:61)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:544:61)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:544:61)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:544:61)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:544:61)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:544:61)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:544:61)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:544:61)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:544:61)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:544:61)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:544:61)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:544:61)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:544:61)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:544:61)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:544:61)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:544:61)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:544:61)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:544:61)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:544:61)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:544:61)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:544:61)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/stops/select.js:28:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/lines/select.js:33:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/lines/select.js:33:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:544:61)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.db.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/stops/select.js:83:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:544:61)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
TypeError: Cannot read property 'userRole' of undefined
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:37:18)
    at jwt.verify (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:13:7)
    at Object.module.exports [as verify] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:63:12)
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:10:9)
    at verifyTokenAndAdmin (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:35:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at next (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:144:13)
    at Route.dispatch (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:114:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at /home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/index.js:284:15
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/completeOrder/select.js:27:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.db.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/stops/select.js:83:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:544:61)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/completeOrder/select.js:27:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:544:61)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:544:61)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:544:61)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:544:61)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:544:61)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:544:61)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:544:61)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:544:61)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
TypeError: Cannot read property 'userRole' of undefined
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:37:18)
    at jwt.verify (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:13:7)
    at Object.module.exports [as verify] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:63:12)
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:10:9)
    at verifyTokenAndAdmin (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:35:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at next (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:144:13)
    at Route.dispatch (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:114:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at /home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/index.js:284:15
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/completeOrder/select.js:27:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.db.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/stops/select.js:83:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
TypeError: Cannot read property 'userRole' of undefined
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:37:18)
    at jwt.verify (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:13:7)
    at /home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:152:16
    at getSecret (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:90:14)
    at Object.module.exports [as verify] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:94:10)
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:10:9)
    at verifyTokenAndAdmin (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:35:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at next (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:144:13)
    at Route.dispatch (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:114:3)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
TypeError: Cannot read property 'userRole' of undefined
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:37:18)
    at jwt.verify (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:13:7)
    at /home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:152:16
    at getSecret (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:90:14)
    at Object.module.exports [as verify] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:94:10)
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:10:9)
    at verifyTokenAndAdmin (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:35:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at next (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:144:13)
    at Route.dispatch (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:114:3)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
TypeError: Cannot read property 'userRole' of undefined
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:37:18)
    at jwt.verify (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:13:7)
    at /home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:152:16
    at getSecret (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:90:14)
    at Object.module.exports [as verify] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:94:10)
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:10:9)
    at verifyTokenAndAdmin (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:35:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at next (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:144:13)
    at Route.dispatch (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:114:3)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
TypeError: Cannot read property 'userRole' of undefined
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:37:18)
    at jwt.verify (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:13:7)
    at /home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:152:16
    at getSecret (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:90:14)
    at Object.module.exports [as verify] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:94:10)
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:10:9)
    at verifyTokenAndAdmin (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:35:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at next (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:144:13)
    at Route.dispatch (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:114:3)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:544:61)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:544:61)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
TypeError: Cannot read property 'userRole' of undefined
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:37:18)
    at jwt.verify (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:13:7)
    at /home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:152:16
    at getSecret (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:90:14)
    at Object.module.exports [as verify] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:94:10)
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:10:9)
    at verifyTokenAndAdmin (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:35:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at next (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:144:13)
    at Route.dispatch (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:114:3)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
TypeError: Cannot read property 'userRole' of undefined
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:37:18)
    at jwt.verify (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:13:7)
    at /home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:152:16
    at getSecret (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:90:14)
    at Object.module.exports [as verify] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:94:10)
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:10:9)
    at verifyTokenAndAdmin (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:35:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at next (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:144:13)
    at Route.dispatch (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:114:3)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/stops/select.js:28:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
TypeError: Cannot read property 'userRole' of undefined
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:37:18)
    at jwt.verify (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:13:7)
    at /home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:152:16
    at getSecret (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:90:14)
    at Object.module.exports [as verify] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:94:10)
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:10:9)
    at verifyTokenAndAdmin (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:35:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at next (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:144:13)
    at Route.dispatch (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:114:3)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:544:61)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:544:61)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:544:61)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:544:61)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:544:61)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:544:61)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:544:61)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
TypeError: Cannot read property 'userRole' of undefined
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:37:18)
    at jwt.verify (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:13:7)
    at Object.module.exports [as verify] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:63:12)
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:10:9)
    at verifyTokenAndAdmin (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:35:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at next (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:144:13)
    at Route.dispatch (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:114:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at /home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/index.js:284:15
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:544:61)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:544:61)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:544:61)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:544:61)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:544:61)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:544:61)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:544:61)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:544:61)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
TypeError: Cannot read property 'userRole' of undefined
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:37:18)
    at jwt.verify (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:13:7)
    at /home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:152:16
    at getSecret (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:90:14)
    at Object.module.exports [as verify] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:94:10)
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:10:9)
    at verifyTokenAndAdmin (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:35:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at next (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:144:13)
    at Route.dispatch (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:114:3)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/stops/select.js:28:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
TypeError: Cannot read property 'userRole' of undefined
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:37:18)
    at jwt.verify (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:13:7)
    at /home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:152:16
    at getSecret (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:90:14)
    at Object.module.exports [as verify] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:94:10)
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:10:9)
    at verifyTokenAndAdmin (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:35:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at next (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:144:13)
    at Route.dispatch (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:114:3)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
TypeError: Cannot read property 'userRole' of undefined
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:37:18)
    at jwt.verify (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:13:7)
    at /home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:152:16
    at getSecret (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:90:14)
    at Object.module.exports [as verify] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:94:10)
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:10:9)
    at verifyTokenAndAdmin (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:35:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at next (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:144:13)
    at Route.dispatch (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:114:3)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/stops/select.js:28:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
TypeError: Cannot read property 'userRole' of undefined
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:37:18)
    at jwt.verify (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:13:7)
    at /home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:152:16
    at getSecret (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:90:14)
    at Object.module.exports [as verify] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:94:10)
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:10:9)
    at verifyTokenAndAdmin (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:35:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at next (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:144:13)
    at Route.dispatch (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:114:3)
TypeError: Cannot read property 'userRole' of undefined
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:37:18)
    at jwt.verify (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:13:7)
    at /home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:152:16
    at getSecret (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:90:14)
    at Object.module.exports [as verify] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:94:10)
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:10:9)
    at verifyTokenAndAdmin (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:35:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at next (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:144:13)
    at Route.dispatch (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:114:3)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/stops/select.js:28:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/stops/select.js:28:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/completeOrder/select.js:27:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
TypeError: Cannot read property 'userRole' of undefined
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:37:18)
    at jwt.verify (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:13:7)
    at Object.module.exports [as verify] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:63:12)
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:10:9)
    at verifyTokenAndAdmin (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:35:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at next (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:144:13)
    at Route.dispatch (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:114:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at /home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/index.js:284:15
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:544:61)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/completeOrder/select.js:27:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
TypeError: Cannot read property 'userRole' of undefined
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:37:18)
    at jwt.verify (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:13:7)
    at Object.module.exports [as verify] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:63:12)
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:10:9)
    at verifyTokenAndAdmin (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:35:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at next (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:144:13)
    at Route.dispatch (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:114:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at /home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/index.js:284:15
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/distributer/select.js:26:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/lines/select.js:33:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/orders/select.js:50:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
TypeError: Cannot read property 'userRole' of undefined
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:37:18)
    at jwt.verify (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:13:7)
    at Object.module.exports [as verify] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:63:12)
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:10:9)
    at verifyTokenAndAdmin (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:35:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at next (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:144:13)
    at Route.dispatch (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:114:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at /home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/index.js:284:15
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/completeOrder/select.js:27:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/stops/select.js:28:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/completeOrder/select.js:27:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
TypeError: Cannot read property 'userRole' of undefined
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:37:18)
    at jwt.verify (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:13:7)
    at Object.module.exports [as verify] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:63:12)
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:10:9)
    at verifyTokenAndAdmin (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:35:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at next (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:144:13)
    at Route.dispatch (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:114:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at /home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/index.js:284:15
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/completeOrder/select.js:27:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/stops/select.js:28:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:544:61)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.db.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/stops/select.js:83:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
TypeError: Cannot read property 'userRole' of undefined
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:37:18)
    at jwt.verify (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:13:7)
    at /home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:152:16
    at getSecret (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:90:14)
    at Object.module.exports [as verify] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:94:10)
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:10:9)
    at verifyTokenAndAdmin (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:35:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at next (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:144:13)
    at Route.dispatch (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:114:3)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/completeOrder/select.js:27:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/stops/select.js:28:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.db.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/stops/select.js:83:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:544:61)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
TypeError: Cannot read property 'userRole' of undefined
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:37:18)
    at jwt.verify (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:13:7)
    at /home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:152:16
    at getSecret (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:90:14)
    at Object.module.exports [as verify] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:94:10)
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:10:9)
    at verifyTokenAndAdmin (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:35:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at next (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:144:13)
    at Route.dispatch (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:114:3)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/completeOrder/select.js:27:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.db.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/stops/select.js:83:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:544:61)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:544:61)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
TypeError: Cannot read property 'userRole' of undefined
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:37:18)
    at jwt.verify (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:13:7)
    at /home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:152:16
    at getSecret (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:90:14)
    at Object.module.exports [as verify] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:94:10)
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:10:9)
    at verifyTokenAndAdmin (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:35:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at next (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:144:13)
    at Route.dispatch (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:114:3)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.db.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/stops/select.js:99:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:544:61)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
TypeError: Cannot read property 'userRole' of undefined
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:37:18)
    at jwt.verify (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:13:7)
    at /home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:152:16
    at getSecret (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:90:14)
    at Object.module.exports [as verify] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:94:10)
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:10:9)
    at verifyTokenAndAdmin (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:35:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at next (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:144:13)
    at Route.dispatch (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:114:3)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/lines/select.js:33:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:544:61)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: true, _useUTC: true, _l: undefined, _i: "01/05/2023 12:08:00 pm", _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:106:16)
    at Function.tz (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment-timezone/moment-timezone.js:562:22)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/orders/create.js:61:12)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'poNumber' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/orders/create.js:79:55)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:544:61)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:544:61)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:544:61)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:544:61)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:544:61)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
TypeError: Cannot read property 'userRole' of undefined
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:37:18)
    at jwt.verify (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:13:7)
    at /home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:152:16
    at getSecret (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:90:14)
    at Object.module.exports [as verify] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:94:10)
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:10:9)
    at verifyTokenAndAdmin (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:35:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at next (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:144:13)
    at Route.dispatch (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:114:3)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/completeOrder/select.js:27:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:544:61)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: true, _useUTC: true, _l: undefined, _i: "01/05/2023 12:55:00 pm", _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:106:16)
    at Function.tz (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment-timezone/moment-timezone.js:562:22)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/orders/create.js:61:12)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'poNumber' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/orders/create.js:79:55)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:544:61)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:544:61)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
Exception ignored in: <_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'>
BrokenPipeError: [Errno 32] Broken pipe
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: true, _useUTC: true, _l: undefined, _i: "01/05/2023 01:00:00 pm", _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:106:16)
    at Function.tz (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment-timezone/moment-timezone.js:562:22)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/orders/create.js:61:12)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'poNumber' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/orders/create.js:79:55)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: true, _useUTC: true, _l: undefined, _i: "01/05/2023 01:00:00 pm", _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:106:16)
    at Function.tz (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment-timezone/moment-timezone.js:562:22)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/orders/create.js:61:12)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'poNumber' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/orders/create.js:79:55)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:544:61)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: true, _useUTC: true, _l: undefined, _i: "01/05/2023 01:16:00 pm", _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:106:16)
    at Function.tz (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment-timezone/moment-timezone.js:562:22)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/orders/create.js:61:12)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'poNumber' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/orders/create.js:79:55)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: true, _useUTC: true, _l: undefined, _i: "01/05/2023 01:16:00 pm", _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:106:16)
    at Function.tz (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment-timezone/moment-timezone.js:562:22)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/orders/create.js:61:12)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'poNumber' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/orders/create.js:79:55)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

TypeError: Cannot read property 'causeOne' of undefined
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:544:61)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:38:16)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 01/05/2023 01:30:00 pm, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 01/05/2023 01:30:00 pm, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 01/05/2023 01:30:00 pm, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 01/05/2023 01:30:00 pm, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 01/05/2023 01:30:00 pm, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 01/05/2023 01:30:00 pm, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 01/05/2023 01:30:00 pm, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/stops/select.js:28:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 01/05/2023 01:30:00 pm, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/stops/select.js:28:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 01/05/2023 01:30:00 pm, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 01/05/2023 01:30:00 pm, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 01/05/2023 01:30:00 pm, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 01/05/2023 01:30:00 pm, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 01/05/2023 01:30:00 pm, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.db.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/stops/select.js:83:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 01/05/2023 01:30:00 pm, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 01/05/2023 01:30:00 pm, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 01/05/2023, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:162:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.db.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/stops/select.js:83:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/stops/select.js:28:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 01/05/2023, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:162:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 01/05/2023 01:30:00 pm, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 01/05/2023 01:30:00 pm, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.db.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/stops/select.js:83:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 01/05/2023 01:30:00 pm, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
TypeError: Cannot read property 'userRole' of undefined
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:37:18)
    at jwt.verify (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:13:7)
    at Object.module.exports [as verify] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:63:12)
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:10:9)
    at verifyTokenAndAdmin (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:35:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at next (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:144:13)
    at Route.dispatch (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:114:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at /home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/index.js:284:15
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/completeOrder/select.js:27:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 01/05/2023 01:30:00 pm, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/completeOrder/select.js:27:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 01/05/2023 01:30:00 pm, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 01/05/2023 01:30:00 pm, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.db.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/stops/select.js:83:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 01/05/2023 01:30:00 pm, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 01/05/2023 01:30:00 pm, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.db.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/stops/select.js:83:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 01/05/2023 01:30:00 pm, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.db.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/stops/select.js:83:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 01/05/2023 01:30:00 pm, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 01/05/2023 01:30:00 pm, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 01/05/2023 01:30:00 pm, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/completeOrder/select.js:27:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 01/05/2023, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:162:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
TypeError: Cannot read property 'userRole' of undefined
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:37:18)
    at jwt.verify (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:13:7)
    at /home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:152:16
    at getSecret (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:90:14)
    at Object.module.exports [as verify] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:94:10)
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:10:9)
    at verifyTokenAndAdmin (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:35:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at next (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:144:13)
    at Route.dispatch (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:114:3)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.db.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/stops/select.js:83:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 01/05/2023, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:162:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 01/05/2023 01:30:00 pm, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createLocal (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3041:16)
    at hooks (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:16:29)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/deviceData/create.js:56:34)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/completeOrder/select.js:27:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.db.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/stops/select.js:99:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.db.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/stops/select.js:99:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.db.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/stops/select.js:99:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/completeOrder/select.js:27:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/completeOrder/select.js:27:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/completeOrder/select.js:27:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.db.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/stops/select.js:83:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.db.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/stops/select.js:99:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
TypeError: Cannot read property 'userRole' of undefined
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:37:18)
    at jwt.verify (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:13:7)
    at Object.module.exports [as verify] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:63:12)
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:10:9)
    at verifyTokenAndAdmin (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:35:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at next (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:144:13)
    at Route.dispatch (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:114:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at /home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/index.js:284:15
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/stops/select.js:28:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/sku/select.js:28:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/team/select.js:35:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.db.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/stops/select.js:99:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.db.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/stops/select.js:99:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/completeOrder/select.js:27:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/stops/select.js:28:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.db.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/stops/select.js:99:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
TypeError: Cannot read property 'userRole' of undefined
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:37:18)
    at jwt.verify (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:13:7)
    at /home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:152:16
    at getSecret (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:90:14)
    at Object.module.exports [as verify] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:94:10)
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:10:9)
    at verifyTokenAndAdmin (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:35:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at next (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:144:13)
    at Route.dispatch (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:114:3)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.db.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/stops/select.js:99:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:20
        throw err;
        ^

Error: connect ECONNREFUSED 64.31.43.226:3306
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1107:14)
    --------------------
    at Protocol._enqueue (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:144:48)
    at Protocol.handshake (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:51:23)
    at PoolConnection.connect (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:116:18)
    at Pool.getConnection (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Pool.js:48:16)
    at Task.CronJob.schedule [as _execution] (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:17:8)
    at Task.execute (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/node-cron/src/task.js:17:25)
    at ScheduledTask.now (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/node-cron/src/scheduled-task.js:38:33)
    at Scheduler.ScheduledTask._scheduler.on (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/node-cron/src/scheduled-task.js:25:18)
    at Scheduler.emit (events.js:198:13)
    at Timeout.matchTime [as _onTimeout] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/node-cron/src/scheduler.js:30:26)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: true, _useUTC: true, _l: undefined, _i: "05/02/2023 09:10:00 am", _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:106:16)
    at Function.tz (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment-timezone/moment-timezone.js:562:22)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/orders/create.js:61:12)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/completeOrder/select.js:27:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/lines/select.js:33:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
TypeError: Cannot read property 'userRole' of undefined
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:37:18)
    at jwt.verify (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:13:7)
    at Object.module.exports [as verify] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:63:12)
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:10:9)
    at verifyTokenAndAdmin (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:35:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at next (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:144:13)
    at Route.dispatch (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:114:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at /home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/index.js:284:15
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/completeOrder/select.js:27:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/completeOrder/select.js:27:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/lines/select.js:33:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/lines/select.js:33:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/lines/select.js:33:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/stops/select.js:28:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
TypeError: Cannot read property 'userRole' of undefined
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:37:18)
    at jwt.verify (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:13:7)
    at Object.module.exports [as verify] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:63:12)
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:10:9)
    at verifyTokenAndAdmin (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:35:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at next (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:144:13)
    at Route.dispatch (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:114:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at /home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/index.js:284:15
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/stops/select.js:28:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/lines/select.js:33:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/team/select.js:35:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/completeOrder/select.js:27:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/lines/select.js:33:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:20
        throw err;
        ^

Error: connect ECONNREFUSED 64.31.43.226:3306
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1107:14)
    --------------------
    at Protocol._enqueue (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:144:48)
    at Protocol.handshake (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:51:23)
    at PoolConnection.connect (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:116:18)
    at Pool.getConnection (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Pool.js:48:16)
    at Task.CronJob.schedule [as _execution] (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:17:8)
    at Task.execute (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/node-cron/src/task.js:17:25)
    at ScheduledTask.now (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/node-cron/src/scheduled-task.js:38:33)
    at Scheduler.ScheduledTask._scheduler.on (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/node-cron/src/scheduled-task.js:25:18)
    at Scheduler.emit (events.js:198:13)
    at Timeout.matchTime [as _onTimeout] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/node-cron/src/scheduler.js:30:26)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
TypeError: Cannot read property 'userRole' of undefined
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:37:18)
    at jwt.verify (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:13:7)
    at Object.module.exports [as verify] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:63:12)
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:10:9)
    at verifyTokenAndAdmin (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:35:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at next (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:144:13)
    at Route.dispatch (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:114:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at /home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/index.js:284:15
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/stops/select.js:28:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/stops/select.js:28:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
TypeError: Cannot read property 'userRole' of undefined
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:37:18)
    at jwt.verify (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:13:7)
    at Object.module.exports [as verify] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:63:12)
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:10:9)
    at verifyTokenAndAdmin (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:35:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at next (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:144:13)
    at Route.dispatch (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:114:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at /home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/index.js:284:15
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/completeOrder/select.js:27:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
TypeError: Cannot read property 'userRole' of undefined
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:37:18)
    at jwt.verify (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:13:7)
    at Object.module.exports [as verify] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:63:12)
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:10:9)
    at verifyTokenAndAdmin (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:35:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at next (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:144:13)
    at Route.dispatch (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:114:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at /home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/index.js:284:15
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/stops/select.js:28:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: true, _useUTC: true, _l: undefined, _i: "11/22/2023 12:26:41 pm", _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:324:25)
    at configFromString (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2550:19)
    at configFromInput (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2993:13)
    at prepareConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2976:13)
    at createFromConfig (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:2943:44)
    at createLocalOrUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:3037:16)
    at createUTC (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment/moment.js:106:16)
    at Function.tz (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/moment-timezone/moment-timezone.js:562:22)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/orders/create.js:61:12)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
TypeError: Cannot read property 'userRole' of undefined
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:37:18)
    at jwt.verify (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:13:7)
    at Object.module.exports [as verify] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:63:12)
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:10:9)
    at verifyTokenAndAdmin (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:35:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at next (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:144:13)
    at Route.dispatch (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:114:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at /home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/index.js:284:15
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:20
        throw err;
        ^

Error: connect ECONNREFUSED 64.31.43.226:3306
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1107:14)
    --------------------
    at Protocol._enqueue (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:144:48)
    at Protocol.handshake (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:51:23)
    at PoolConnection.connect (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:116:18)
    at Pool.getConnection (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Pool.js:48:16)
    at Task.CronJob.schedule [as _execution] (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:17:8)
    at Task.execute (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/node-cron/src/task.js:17:25)
    at ScheduledTask.now (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/node-cron/src/scheduled-task.js:38:33)
    at Scheduler.ScheduledTask._scheduler.on (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/node-cron/src/scheduled-task.js:25:18)
    at Scheduler.emit (events.js:198:13)
    at Timeout.matchTime [as _onTimeout] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/node-cron/src/scheduler.js:30:26)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
TypeError: Cannot read property 'userRole' of undefined
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:37:18)
    at jwt.verify (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:13:7)
    at Object.module.exports [as verify] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:63:12)
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:10:9)
    at verifyTokenAndAdmin (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:35:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at next (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:144:13)
    at Route.dispatch (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:114:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at /home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/index.js:284:15
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/completeOrder/select.js:27:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:20
        throw err;
        ^

Error: connect ECONNREFUSED 64.31.43.226:3306
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1107:14)
    --------------------
    at Protocol._enqueue (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:144:48)
    at Protocol.handshake (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:51:23)
    at PoolConnection.connect (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:116:18)
    at Pool.getConnection (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Pool.js:48:16)
    at Task.CronJob.schedule [as _execution] (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:17:8)
    at Task.execute (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/node-cron/src/task.js:17:25)
    at ScheduledTask.now (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/node-cron/src/scheduled-task.js:38:33)
    at Scheduler.ScheduledTask._scheduler.on (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/node-cron/src/scheduled-task.js:25:18)
    at Scheduler.emit (events.js:198:13)
    at Timeout.matchTime [as _onTimeout] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/node-cron/src/scheduler.js:30:26)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error: write ECONNRESET
    at afterWriteDispatched (internal/stream_base_commons.js:78:25)
    at writeGeneric (internal/stream_base_commons.js:73:3)
    at Socket._writeGeneric (net.js:714:5)
    at Socket._write (net.js:726:8)
    at doWrite (_stream_writable.js:415:12)
    at writeOrBuffer (_stream_writable.js:399:5)
    at Socket.Writable.write (_stream_writable.js:299:11)
    at Protocol.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:85:26)
    at Protocol.emit (events.js:198:13)
    at Protocol._emitPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:305:8)
    --------------------
    at Protocol._enqueue (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:144:48)
    at Protocol.handshake (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Protocol.js:51:23)
    at PoolConnection.connect (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:116:18)
    at Pool.getConnection (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Pool.js:48:16)
    at Task.CronJob.schedule [as _execution] (/home2/pakis104/oeeb.pakistanautomation.com.pk/utils/scheduledFunctions/scheduledFunctions.js:17:8)
    at Task.execute (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/node-cron/src/task.js:17:25)
    at ScheduledTask.now (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/node-cron/src/scheduled-task.js:38:33)
    at Scheduler.ScheduledTask._scheduler.on (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/node-cron/src/scheduled-task.js:25:18)
    at Scheduler.emit (events.js:198:13)
    at Timeout.matchTime [as _onTimeout] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/node-cron/src/scheduler.js:30:26)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
TypeError: Cannot read property 'userRole' of undefined
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:37:18)
    at jwt.verify (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:13:7)
    at Object.module.exports [as verify] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/jsonwebtoken/verify.js:63:12)
    at verifyToken (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:10:9)
    at verifyTokenAndAdmin (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/middleware/verifyToken.js:35:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at next (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:144:13)
    at Route.dispatch (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/route.js:114:3)
    at Layer.handle [as handle_request] (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/layer.js:95:5)
    at /home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/router/index.js:284:15
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/stops/select.js:28:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/Parser.js:437
      throw err; // Rethrow non-MySQL errors
      ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/express/lib/response.js:162:21)
    at Query.connection.query (/home2/pakis104/oeeb.pakistanautomation.com.pk/routes/shift/select.js:24:25)
    at Query.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:526:10)
    at Query._callback (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/Connection.js:488:16)
    at Query.Sequence.end (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
ReferenceError: navigator is not defined
    at /home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/iconv-lite/encodings/internal.js:189:1029
    at Object.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/iconv-lite/encodings/internal.js:189:1466)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home2/pakis104/nodevenv/oeeb.pakistanautomation.com.pk/10/lib/node_modules/iconv-lite/encodings/index.js:6:5)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
Exception ignored in: <_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'>
BrokenPipeError: [Errno 32] Broken pipe
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home2/pakis104/oeeb.pakistanautomation.com.pk//app.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
    at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
