/home/atulyhco/pwd.techdarshak.com/node_modules/next/dist/lib/picocolors.js:134
const { env, stdout } = ((_globalThis = globalThis) == null ? void 0 : _globalThis.process) ?? {};
                                                                                             ^

SyntaxError: Unexpected token ?
    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 Module.mod.require (/home/atulyhco/pwd.techdarshak.com/node_modules/next/dist/server/require-hook.js:65:28)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home/atulyhco/pwd.techdarshak.com/node_modules/next/dist/build/output/log.js:55:21)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
/home/atulyhco/pwd.techdarshak.com/node_modules/next/dist/lib/picocolors.js:134
const { env, stdout } = ((_globalThis = globalThis) == null ? void 0 : _globalThis.process) ?? {};
                                                                                             ^

SyntaxError: Unexpected token ?
    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 Module.mod.require (/home/atulyhco/pwd.techdarshak.com/node_modules/next/dist/server/require-hook.js:65:28)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home/atulyhco/pwd.techdarshak.com/node_modules/next/dist/build/output/log.js:55:21)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
/home/atulyhco/pwd.techdarshak.com/node_modules/next/dist/lib/picocolors.js:134
const { env, stdout } = ((_globalThis = globalThis) == null ? void 0 : _globalThis.process) ?? {};
                                                                                             ^

SyntaxError: Unexpected token ?
    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 Module.mod.require (/home/atulyhco/pwd.techdarshak.com/node_modules/next/dist/server/require-hook.js:65:28)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home/atulyhco/pwd.techdarshak.com/node_modules/next/dist/build/output/log.js:55:21)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
/home/atulyhco/pwd.techdarshak.com/node_modules/next/dist/lib/picocolors.js:134
const { env, stdout } = ((_globalThis = globalThis) == null ? void 0 : _globalThis.process) ?? {};
                                                                                             ^

SyntaxError: Unexpected token ?
    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 Module.mod.require (/home/atulyhco/pwd.techdarshak.com/node_modules/next/dist/server/require-hook.js:65:28)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home/atulyhco/pwd.techdarshak.com/node_modules/next/dist/build/output/log.js:55:21)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
/home/atulyhco/pwd.techdarshak.com/node_modules/next/dist/lib/picocolors.js:134
const { env, stdout } = ((_globalThis = globalThis) == null ? void 0 : _globalThis.process) ?? {};
                                                                                             ^

SyntaxError: Unexpected token ?
    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 Module.mod.require (/home/atulyhco/pwd.techdarshak.com/node_modules/next/dist/server/require-hook.js:65:28)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home/atulyhco/pwd.techdarshak.com/node_modules/next/dist/build/output/log.js:55:21)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
/home/atulyhco/pwd.techdarshak.com/node_modules/next/dist/lib/picocolors.js:134
const { env, stdout } = ((_globalThis = globalThis) == null ? void 0 : _globalThis.process) ?? {};
                                                                                             ^

SyntaxError: Unexpected token ?
    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 Module.mod.require (/home/atulyhco/pwd.techdarshak.com/node_modules/next/dist/server/require-hook.js:65:28)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home/atulyhco/pwd.techdarshak.com/node_modules/next/dist/build/output/log.js:55:21)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
/home/atulyhco/pwd.techdarshak.com/node_modules/next/dist/lib/picocolors.js:134
const { env, stdout } = ((_globalThis = globalThis) == null ? void 0 : _globalThis.process) ?? {};
                                                                                             ^

SyntaxError: Unexpected token ?
    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 Module.mod.require (/home/atulyhco/pwd.techdarshak.com/node_modules/next/dist/server/require-hook.js:65:28)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home/atulyhco/pwd.techdarshak.com/node_modules/next/dist/build/output/log.js:55:21)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module 'next'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/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> (/home/atulyhco/pwd.techdarshak.com/server.js:6:26)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/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)
node:internal/modules/cjs/loader:1210
  throw err;
  ^

Error: Cannot find module 'next'
Require stack:
- /home/atulyhco/pwd.techdarshak.com/server.js
- /usr/local/lsws/fcgi-bin/lsnode.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:1207:15)
    at Module._load (node:internal/modules/cjs/loader:1038:27)
    at Module.require (node:internal/modules/cjs/loader:1289:19)
    at require (node:internal/modules/helpers:182:18)
    at Object.<anonymous> (/home/atulyhco/pwd.techdarshak.com/server.js:6:26)
    at Module._compile (node:internal/modules/cjs/loader:1521:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1623:10)
    at Module.load (node:internal/modules/cjs/loader:1266:32)
    at Module._load (node:internal/modules/cjs/loader:1091:12)
    at Module.require (node:internal/modules/cjs/loader:1289:19) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/home/atulyhco/pwd.techdarshak.com/server.js',
    '/usr/local/lsws/fcgi-bin/lsnode.js'
  ]
}

Node.js v20.20.0
[login] Error: Table 'atulyhco_docmanager.users' doesn't exist
    at PromisePool.query (/home/atulyhco/nodevenv/pwd.techdarshak.com/20/lib/node_modules/mysql2/lib/promise/pool.js:36:22)
    at u (/home/atulyhco/pwd.techdarshak.com/.next/server/app/api/auth/login/route.js:1:3454)
    at p (/home/atulyhco/pwd.techdarshak.com/.next/server/app/api/auth/login/route.js:1:1151)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/atulyhco/nodevenv/pwd.techdarshak.com/20/lib/node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js:6:36258
    at async eR.execute (/home/atulyhco/nodevenv/pwd.techdarshak.com/20/lib/node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js:6:26874)
    at async eR.handle (/home/atulyhco/nodevenv/pwd.techdarshak.com/20/lib/node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js:6:37512)
    at async doRender (/home/atulyhco/nodevenv/pwd.techdarshak.com/20/lib/node_modules/next/dist/server/base-server.js:1377:42)
    at async cacheEntry.responseCache.get.routeKind (/home/atulyhco/nodevenv/pwd.techdarshak.com/20/lib/node_modules/next/dist/server/base-server.js:1599:28)
    at async NextNodeServer.renderToResponseWithComponentsImpl (/home/atulyhco/nodevenv/pwd.techdarshak.com/20/lib/node_modules/next/dist/server/base-server.js:1507:28) {
  code: 'ER_NO_SUCH_TABLE',
  errno: 1146,
  sql: 'SELECT id, username, password, role, is_active, created_at, updated_at\n' +
    "     FROM users WHERE username = 'admin' LIMIT 1",
  sqlState: '42S02',
  sqlMessage: "Table 'atulyhco_docmanager.users' doesn't exist"
}
ReferenceError: window is not defined
    at j (/home/atulyhco/pwd.techdarshak.com/.next/server/chunks/424.js:3:44)
    at nj (/home/atulyhco/nodevenv/pwd.techdarshak.com/20/lib/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:46251)
    at nM (/home/atulyhco/nodevenv/pwd.techdarshak.com/20/lib/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:47571)
    at nN (/home/atulyhco/nodevenv/pwd.techdarshak.com/20/lib/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:64546)
    at nB (/home/atulyhco/nodevenv/pwd.techdarshak.com/20/lib/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:67538)
    at nD (/home/atulyhco/nodevenv/pwd.techdarshak.com/20/lib/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:66680)
    at nN (/home/atulyhco/nodevenv/pwd.techdarshak.com/20/lib/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:64853)
    at nB (/home/atulyhco/nodevenv/pwd.techdarshak.com/20/lib/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:67538)
    at nM (/home/atulyhco/nodevenv/pwd.techdarshak.com/20/lib/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:58560)
    at nN (/home/atulyhco/nodevenv/pwd.techdarshak.com/20/lib/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:64546) {
  digest: '4161147164'
}
ReferenceError: window is not defined
    at j (/home/atulyhco/pwd.techdarshak.com/.next/server/chunks/424.js:3:44)
    at nj (/home/atulyhco/nodevenv/pwd.techdarshak.com/20/lib/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:46251)
    at nM (/home/atulyhco/nodevenv/pwd.techdarshak.com/20/lib/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:47571)
    at nN (/home/atulyhco/nodevenv/pwd.techdarshak.com/20/lib/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:64546)
    at nB (/home/atulyhco/nodevenv/pwd.techdarshak.com/20/lib/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:67538)
    at nD (/home/atulyhco/nodevenv/pwd.techdarshak.com/20/lib/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:66680)
    at nN (/home/atulyhco/nodevenv/pwd.techdarshak.com/20/lib/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:64853)
    at nB (/home/atulyhco/nodevenv/pwd.techdarshak.com/20/lib/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:67538)
    at nM (/home/atulyhco/nodevenv/pwd.techdarshak.com/20/lib/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:58560)
    at nN (/home/atulyhco/nodevenv/pwd.techdarshak.com/20/lib/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:64546) {
  digest: '4161147164'
}
ReferenceError: window is not defined
    at j (/home/atulyhco/pwd.techdarshak.com/.next/server/chunks/424.js:3:44)
    at nj (/home/atulyhco/nodevenv/pwd.techdarshak.com/20/lib/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:46251)
    at nM (/home/atulyhco/nodevenv/pwd.techdarshak.com/20/lib/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:47571)
    at nN (/home/atulyhco/nodevenv/pwd.techdarshak.com/20/lib/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:64546)
    at nB (/home/atulyhco/nodevenv/pwd.techdarshak.com/20/lib/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:67538)
    at nD (/home/atulyhco/nodevenv/pwd.techdarshak.com/20/lib/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:66680)
    at nN (/home/atulyhco/nodevenv/pwd.techdarshak.com/20/lib/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:64853)
    at nB (/home/atulyhco/nodevenv/pwd.techdarshak.com/20/lib/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:67538)
    at nM (/home/atulyhco/nodevenv/pwd.techdarshak.com/20/lib/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:58560)
    at nN (/home/atulyhco/nodevenv/pwd.techdarshak.com/20/lib/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:64546) {
  digest: '4161147164'
}
ReferenceError: window is not defined
    at j (/home/atulyhco/pwd.techdarshak.com/.next/server/chunks/424.js:3:44)
    at nj (/home/atulyhco/nodevenv/pwd.techdarshak.com/20/lib/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:46251)
    at nM (/home/atulyhco/nodevenv/pwd.techdarshak.com/20/lib/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:47571)
    at nN (/home/atulyhco/nodevenv/pwd.techdarshak.com/20/lib/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:64546)
    at nB (/home/atulyhco/nodevenv/pwd.techdarshak.com/20/lib/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:67538)
    at nD (/home/atulyhco/nodevenv/pwd.techdarshak.com/20/lib/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:66680)
    at nN (/home/atulyhco/nodevenv/pwd.techdarshak.com/20/lib/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:64853)
    at nB (/home/atulyhco/nodevenv/pwd.techdarshak.com/20/lib/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:67538)
    at nM (/home/atulyhco/nodevenv/pwd.techdarshak.com/20/lib/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:58560)
    at nN (/home/atulyhco/nodevenv/pwd.techdarshak.com/20/lib/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:64546) {
  digest: '4161147164'
}
