node:internal/modules/esm/resolve:1006
    throw error;
    ^

Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'express' imported from /home/techsoyf/sunbird-backend.techsolutionfactory.com/server.js
    at Object.getPackageJSONURL (node:internal/modules/package_json_reader:268:9)
    at packageResolve (node:internal/modules/esm/resolve:768:81)
    at moduleResolve (node:internal/modules/esm/resolve:858:18)
    at defaultResolve (node:internal/modules/esm/resolve:990:11)
    at #cachedDefaultResolve (node:internal/modules/esm/loader:735:20)
    at #resolveAndMaybeBlockOnLoaderThread (node:internal/modules/esm/loader:771:38)
    at ModuleLoader.resolveSync (node:internal/modules/esm/loader:794:52)
    at #cachedResolveSync (node:internal/modules/esm/loader:754:25)
    at ModuleLoader.getModuleJobForRequire (node:internal/modules/esm/loader:466:50)
    at #link (node:internal/modules/esm/module_job:441:34) {
  code: 'ERR_MODULE_NOT_FOUND'
}

Node.js v24.6.0
node:internal/modules/esm/resolve:1006
    throw error;
    ^

Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'express' imported from /home/techsoyf/sunbird-backend.techsolutionfactory.com/server.js
    at Object.getPackageJSONURL (node:internal/modules/package_json_reader:268:9)
    at packageResolve (node:internal/modules/esm/resolve:768:81)
    at moduleResolve (node:internal/modules/esm/resolve:858:18)
    at defaultResolve (node:internal/modules/esm/resolve:990:11)
    at #cachedDefaultResolve (node:internal/modules/esm/loader:735:20)
    at #resolveAndMaybeBlockOnLoaderThread (node:internal/modules/esm/loader:771:38)
    at ModuleLoader.resolveSync (node:internal/modules/esm/loader:794:52)
    at #cachedResolveSync (node:internal/modules/esm/loader:754:25)
    at ModuleLoader.getModuleJobForRequire (node:internal/modules/esm/loader:466:50)
    at #link (node:internal/modules/esm/module_job:441:34) {
  code: 'ERR_MODULE_NOT_FOUND'
}

Node.js v24.6.0
Error: AppError: Invalid email or password
    at login (file:///home/techsoyf/sunbird-backend.techsolutionfactory.com/controllers/authController.js:123:19)
    at process.processTicksAndRejections (node:internal/process/task_queues:105:5) {
  statusCode: 401,
  isOperational: true
}
Error: AppError: Invalid email or password
    at login (file:///home/techsoyf/sunbird-backend.techsolutionfactory.com/controllers/authController.js:123:19)
    at process.processTicksAndRejections (node:internal/process/task_queues:105:5) {
  statusCode: 401,
  isOperational: true
}
Error: AppError: Not authorized to access this route
    at protect (file:///home/techsoyf/sunbird-backend.techsolutionfactory.com/middleware/authMiddleware.js:40:19)
    at Layer.handle [as handle_request] (/home/techsoyf/nodevenv/sunbird-backend.techsolutionfactory.com/24/lib/node_modules/express/lib/router/layer.js:95:5)
    at trim_prefix (/home/techsoyf/nodevenv/sunbird-backend.techsolutionfactory.com/24/lib/node_modules/express/lib/router/index.js:328:13)
    at /home/techsoyf/nodevenv/sunbird-backend.techsolutionfactory.com/24/lib/node_modules/express/lib/router/index.js:286:9
    at router.process_params (/home/techsoyf/nodevenv/sunbird-backend.techsolutionfactory.com/24/lib/node_modules/express/lib/router/index.js:346:12)
    at next (/home/techsoyf/nodevenv/sunbird-backend.techsolutionfactory.com/24/lib/node_modules/express/lib/router/index.js:280:10)
    at router.handle (/home/techsoyf/nodevenv/sunbird-backend.techsolutionfactory.com/24/lib/node_modules/express/lib/router/index.js:175:3)
    at router (/home/techsoyf/nodevenv/sunbird-backend.techsolutionfactory.com/24/lib/node_modules/express/lib/router/index.js:47:12)
    at Layer.handle [as handle_request] (/home/techsoyf/nodevenv/sunbird-backend.techsolutionfactory.com/24/lib/node_modules/express/lib/router/layer.js:95:5)
    at trim_prefix (/home/techsoyf/nodevenv/sunbird-backend.techsolutionfactory.com/24/lib/node_modules/express/lib/router/index.js:328:13) {
  statusCode: 401,
  isOperational: true
}
Error: AppError: Not authorized to access this route
    at protect (file:///home/techsoyf/sunbird-backend.techsolutionfactory.com/middleware/authMiddleware.js:40:19)
    at Layer.handle [as handle_request] (/home/techsoyf/nodevenv/sunbird-backend.techsolutionfactory.com/24/lib/node_modules/express/lib/router/layer.js:95:5)
    at trim_prefix (/home/techsoyf/nodevenv/sunbird-backend.techsolutionfactory.com/24/lib/node_modules/express/lib/router/index.js:328:13)
    at /home/techsoyf/nodevenv/sunbird-backend.techsolutionfactory.com/24/lib/node_modules/express/lib/router/index.js:286:9
    at router.process_params (/home/techsoyf/nodevenv/sunbird-backend.techsolutionfactory.com/24/lib/node_modules/express/lib/router/index.js:346:12)
    at next (/home/techsoyf/nodevenv/sunbird-backend.techsolutionfactory.com/24/lib/node_modules/express/lib/router/index.js:280:10)
    at router.handle (/home/techsoyf/nodevenv/sunbird-backend.techsolutionfactory.com/24/lib/node_modules/express/lib/router/index.js:175:3)
    at router (/home/techsoyf/nodevenv/sunbird-backend.techsolutionfactory.com/24/lib/node_modules/express/lib/router/index.js:47:12)
    at Layer.handle [as handle_request] (/home/techsoyf/nodevenv/sunbird-backend.techsolutionfactory.com/24/lib/node_modules/express/lib/router/layer.js:95:5)
    at trim_prefix (/home/techsoyf/nodevenv/sunbird-backend.techsolutionfactory.com/24/lib/node_modules/express/lib/router/index.js:328:13) {
  statusCode: 401,
  isOperational: true
}
Error: AppError: Not authorized to access this route
    at protect (file:///home/techsoyf/sunbird-backend.techsolutionfactory.com/middleware/authMiddleware.js:40:19)
    at Layer.handle [as handle_request] (/home/techsoyf/nodevenv/sunbird-backend.techsolutionfactory.com/24/lib/node_modules/express/lib/router/layer.js:95:5)
    at trim_prefix (/home/techsoyf/nodevenv/sunbird-backend.techsolutionfactory.com/24/lib/node_modules/express/lib/router/index.js:328:13)
    at /home/techsoyf/nodevenv/sunbird-backend.techsolutionfactory.com/24/lib/node_modules/express/lib/router/index.js:286:9
    at router.process_params (/home/techsoyf/nodevenv/sunbird-backend.techsolutionfactory.com/24/lib/node_modules/express/lib/router/index.js:346:12)
    at next (/home/techsoyf/nodevenv/sunbird-backend.techsolutionfactory.com/24/lib/node_modules/express/lib/router/index.js:280:10)
    at router.handle (/home/techsoyf/nodevenv/sunbird-backend.techsolutionfactory.com/24/lib/node_modules/express/lib/router/index.js:175:3)
    at router (/home/techsoyf/nodevenv/sunbird-backend.techsolutionfactory.com/24/lib/node_modules/express/lib/router/index.js:47:12)
    at Layer.handle [as handle_request] (/home/techsoyf/nodevenv/sunbird-backend.techsolutionfactory.com/24/lib/node_modules/express/lib/router/layer.js:95:5)
    at trim_prefix (/home/techsoyf/nodevenv/sunbird-backend.techsolutionfactory.com/24/lib/node_modules/express/lib/router/index.js:328:13) {
  statusCode: 401,
  isOperational: true
}
Error: AppError: Not authorized to access this route
    at protect (file:///home/techsoyf/sunbird-backend.techsolutionfactory.com/middleware/authMiddleware.js:40:19)
    at Layer.handle [as handle_request] (/home/techsoyf/nodevenv/sunbird-backend.techsolutionfactory.com/24/lib/node_modules/express/lib/router/layer.js:95:5)
    at trim_prefix (/home/techsoyf/nodevenv/sunbird-backend.techsolutionfactory.com/24/lib/node_modules/express/lib/router/index.js:328:13)
    at /home/techsoyf/nodevenv/sunbird-backend.techsolutionfactory.com/24/lib/node_modules/express/lib/router/index.js:286:9
    at router.process_params (/home/techsoyf/nodevenv/sunbird-backend.techsolutionfactory.com/24/lib/node_modules/express/lib/router/index.js:346:12)
    at next (/home/techsoyf/nodevenv/sunbird-backend.techsolutionfactory.com/24/lib/node_modules/express/lib/router/index.js:280:10)
    at router.handle (/home/techsoyf/nodevenv/sunbird-backend.techsolutionfactory.com/24/lib/node_modules/express/lib/router/index.js:175:3)
    at router (/home/techsoyf/nodevenv/sunbird-backend.techsolutionfactory.com/24/lib/node_modules/express/lib/router/index.js:47:12)
    at Layer.handle [as handle_request] (/home/techsoyf/nodevenv/sunbird-backend.techsolutionfactory.com/24/lib/node_modules/express/lib/router/layer.js:95:5)
    at trim_prefix (/home/techsoyf/nodevenv/sunbird-backend.techsolutionfactory.com/24/lib/node_modules/express/lib/router/index.js:328:13) {
  statusCode: 401,
  isOperational: true
}
Error: AppError: Not authorized to access this route
    at protect (file:///home/techsoyf/sunbird-backend.techsolutionfactory.com/middleware/authMiddleware.js:40:19)
    at Layer.handle [as handle_request] (/home/techsoyf/nodevenv/sunbird-backend.techsolutionfactory.com/24/lib/node_modules/express/lib/router/layer.js:95:5)
    at trim_prefix (/home/techsoyf/nodevenv/sunbird-backend.techsolutionfactory.com/24/lib/node_modules/express/lib/router/index.js:328:13)
    at /home/techsoyf/nodevenv/sunbird-backend.techsolutionfactory.com/24/lib/node_modules/express/lib/router/index.js:286:9
    at router.process_params (/home/techsoyf/nodevenv/sunbird-backend.techsolutionfactory.com/24/lib/node_modules/express/lib/router/index.js:346:12)
    at next (/home/techsoyf/nodevenv/sunbird-backend.techsolutionfactory.com/24/lib/node_modules/express/lib/router/index.js:280:10)
    at router.handle (/home/techsoyf/nodevenv/sunbird-backend.techsolutionfactory.com/24/lib/node_modules/express/lib/router/index.js:175:3)
    at router (/home/techsoyf/nodevenv/sunbird-backend.techsolutionfactory.com/24/lib/node_modules/express/lib/router/index.js:47:12)
    at Layer.handle [as handle_request] (/home/techsoyf/nodevenv/sunbird-backend.techsolutionfactory.com/24/lib/node_modules/express/lib/router/layer.js:95:5)
    at trim_prefix (/home/techsoyf/nodevenv/sunbird-backend.techsolutionfactory.com/24/lib/node_modules/express/lib/router/index.js:328:13) {
  statusCode: 401,
  isOperational: true
}
Error: AppError: Not authorized to access this route
    at protect (file:///home/techsoyf/sunbird-backend.techsolutionfactory.com/middleware/authMiddleware.js:40:19)
    at Layer.handle [as handle_request] (/home/techsoyf/nodevenv/sunbird-backend.techsolutionfactory.com/24/lib/node_modules/express/lib/router/layer.js:95:5)
    at trim_prefix (/home/techsoyf/nodevenv/sunbird-backend.techsolutionfactory.com/24/lib/node_modules/express/lib/router/index.js:328:13)
    at /home/techsoyf/nodevenv/sunbird-backend.techsolutionfactory.com/24/lib/node_modules/express/lib/router/index.js:286:9
    at router.process_params (/home/techsoyf/nodevenv/sunbird-backend.techsolutionfactory.com/24/lib/node_modules/express/lib/router/index.js:346:12)
    at next (/home/techsoyf/nodevenv/sunbird-backend.techsolutionfactory.com/24/lib/node_modules/express/lib/router/index.js:280:10)
    at router.handle (/home/techsoyf/nodevenv/sunbird-backend.techsolutionfactory.com/24/lib/node_modules/express/lib/router/index.js:175:3)
    at router (/home/techsoyf/nodevenv/sunbird-backend.techsolutionfactory.com/24/lib/node_modules/express/lib/router/index.js:47:12)
    at Layer.handle [as handle_request] (/home/techsoyf/nodevenv/sunbird-backend.techsolutionfactory.com/24/lib/node_modules/express/lib/router/layer.js:95:5)
    at trim_prefix (/home/techsoyf/nodevenv/sunbird-backend.techsolutionfactory.com/24/lib/node_modules/express/lib/router/index.js:328:13) {
  statusCode: 401,
  isOperational: true
}
Error: AppError: Not authorized to access this route
    at protect (file:///home/techsoyf/sunbird-backend.techsolutionfactory.com/middleware/authMiddleware.js:40:19)
    at Layer.handle [as handle_request] (/home/techsoyf/nodevenv/sunbird-backend.techsolutionfactory.com/24/lib/node_modules/express/lib/router/layer.js:95:5)
    at trim_prefix (/home/techsoyf/nodevenv/sunbird-backend.techsolutionfactory.com/24/lib/node_modules/express/lib/router/index.js:328:13)
    at /home/techsoyf/nodevenv/sunbird-backend.techsolutionfactory.com/24/lib/node_modules/express/lib/router/index.js:286:9
    at router.process_params (/home/techsoyf/nodevenv/sunbird-backend.techsolutionfactory.com/24/lib/node_modules/express/lib/router/index.js:346:12)
    at next (/home/techsoyf/nodevenv/sunbird-backend.techsolutionfactory.com/24/lib/node_modules/express/lib/router/index.js:280:10)
    at router.handle (/home/techsoyf/nodevenv/sunbird-backend.techsolutionfactory.com/24/lib/node_modules/express/lib/router/index.js:175:3)
    at router (/home/techsoyf/nodevenv/sunbird-backend.techsolutionfactory.com/24/lib/node_modules/express/lib/router/index.js:47:12)
    at Layer.handle [as handle_request] (/home/techsoyf/nodevenv/sunbird-backend.techsolutionfactory.com/24/lib/node_modules/express/lib/router/layer.js:95:5)
    at trim_prefix (/home/techsoyf/nodevenv/sunbird-backend.techsolutionfactory.com/24/lib/node_modules/express/lib/router/index.js:328:13) {
  statusCode: 401,
  isOperational: true
}
Error: AppError: Not authorized to access this route
    at protect (file:///home/techsoyf/sunbird-backend.techsolutionfactory.com/middleware/authMiddleware.js:40:19)
    at Layer.handle [as handle_request] (/home/techsoyf/nodevenv/sunbird-backend.techsolutionfactory.com/24/lib/node_modules/express/lib/router/layer.js:95:5)
    at trim_prefix (/home/techsoyf/nodevenv/sunbird-backend.techsolutionfactory.com/24/lib/node_modules/express/lib/router/index.js:328:13)
    at /home/techsoyf/nodevenv/sunbird-backend.techsolutionfactory.com/24/lib/node_modules/express/lib/router/index.js:286:9
    at router.process_params (/home/techsoyf/nodevenv/sunbird-backend.techsolutionfactory.com/24/lib/node_modules/express/lib/router/index.js:346:12)
    at next (/home/techsoyf/nodevenv/sunbird-backend.techsolutionfactory.com/24/lib/node_modules/express/lib/router/index.js:280:10)
    at router.handle (/home/techsoyf/nodevenv/sunbird-backend.techsolutionfactory.com/24/lib/node_modules/express/lib/router/index.js:175:3)
    at router (/home/techsoyf/nodevenv/sunbird-backend.techsolutionfactory.com/24/lib/node_modules/express/lib/router/index.js:47:12)
    at Layer.handle [as handle_request] (/home/techsoyf/nodevenv/sunbird-backend.techsolutionfactory.com/24/lib/node_modules/express/lib/router/layer.js:95:5)
    at trim_prefix (/home/techsoyf/nodevenv/sunbird-backend.techsolutionfactory.com/24/lib/node_modules/express/lib/router/index.js:328:13) {
  statusCode: 401,
  isOperational: true
}
Error: AppError: Not authorized to access this route
    at protect (file:///home/techsoyf/sunbird-backend.techsolutionfactory.com/middleware/authMiddleware.js:40:19)
    at Layer.handle [as handle_request] (/home/techsoyf/nodevenv/sunbird-backend.techsolutionfactory.com/24/lib/node_modules/express/lib/router/layer.js:95:5)
    at trim_prefix (/home/techsoyf/nodevenv/sunbird-backend.techsolutionfactory.com/24/lib/node_modules/express/lib/router/index.js:328:13)
    at /home/techsoyf/nodevenv/sunbird-backend.techsolutionfactory.com/24/lib/node_modules/express/lib/router/index.js:286:9
    at router.process_params (/home/techsoyf/nodevenv/sunbird-backend.techsolutionfactory.com/24/lib/node_modules/express/lib/router/index.js:346:12)
    at next (/home/techsoyf/nodevenv/sunbird-backend.techsolutionfactory.com/24/lib/node_modules/express/lib/router/index.js:280:10)
    at router.handle (/home/techsoyf/nodevenv/sunbird-backend.techsolutionfactory.com/24/lib/node_modules/express/lib/router/index.js:175:3)
    at router (/home/techsoyf/nodevenv/sunbird-backend.techsolutionfactory.com/24/lib/node_modules/express/lib/router/index.js:47:12)
    at Layer.handle [as handle_request] (/home/techsoyf/nodevenv/sunbird-backend.techsolutionfactory.com/24/lib/node_modules/express/lib/router/layer.js:95:5)
    at trim_prefix (/home/techsoyf/nodevenv/sunbird-backend.techsolutionfactory.com/24/lib/node_modules/express/lib/router/index.js:328:13) {
  statusCode: 401,
  isOperational: true
}
Error: AppError: Not authorized to access this route
    at protect (file:///home/techsoyf/sunbird-backend.techsolutionfactory.com/middleware/authMiddleware.js:40:19)
    at Layer.handle [as handle_request] (/home/techsoyf/nodevenv/sunbird-backend.techsolutionfactory.com/24/lib/node_modules/express/lib/router/layer.js:95:5)
    at trim_prefix (/home/techsoyf/nodevenv/sunbird-backend.techsolutionfactory.com/24/lib/node_modules/express/lib/router/index.js:328:13)
    at /home/techsoyf/nodevenv/sunbird-backend.techsolutionfactory.com/24/lib/node_modules/express/lib/router/index.js:286:9
    at router.process_params (/home/techsoyf/nodevenv/sunbird-backend.techsolutionfactory.com/24/lib/node_modules/express/lib/router/index.js:346:12)
    at next (/home/techsoyf/nodevenv/sunbird-backend.techsolutionfactory.com/24/lib/node_modules/express/lib/router/index.js:280:10)
    at router.handle (/home/techsoyf/nodevenv/sunbird-backend.techsolutionfactory.com/24/lib/node_modules/express/lib/router/index.js:175:3)
    at router (/home/techsoyf/nodevenv/sunbird-backend.techsolutionfactory.com/24/lib/node_modules/express/lib/router/index.js:47:12)
    at Layer.handle [as handle_request] (/home/techsoyf/nodevenv/sunbird-backend.techsolutionfactory.com/24/lib/node_modules/express/lib/router/layer.js:95:5)
    at trim_prefix (/home/techsoyf/nodevenv/sunbird-backend.techsolutionfactory.com/24/lib/node_modules/express/lib/router/index.js:328:13) {
  statusCode: 401,
  isOperational: true
}
Error: AppError: Not authorized to access this route
    at protect (file:///home/techsoyf/sunbird-backend.techsolutionfactory.com/middleware/authMiddleware.js:40:19)
    at Layer.handle [as handle_request] (/home/techsoyf/nodevenv/sunbird-backend.techsolutionfactory.com/24/lib/node_modules/express/lib/router/layer.js:95:5)
    at trim_prefix (/home/techsoyf/nodevenv/sunbird-backend.techsolutionfactory.com/24/lib/node_modules/express/lib/router/index.js:328:13)
    at /home/techsoyf/nodevenv/sunbird-backend.techsolutionfactory.com/24/lib/node_modules/express/lib/router/index.js:286:9
    at router.process_params (/home/techsoyf/nodevenv/sunbird-backend.techsolutionfactory.com/24/lib/node_modules/express/lib/router/index.js:346:12)
    at next (/home/techsoyf/nodevenv/sunbird-backend.techsolutionfactory.com/24/lib/node_modules/express/lib/router/index.js:280:10)
    at router.handle (/home/techsoyf/nodevenv/sunbird-backend.techsolutionfactory.com/24/lib/node_modules/express/lib/router/index.js:175:3)
    at router (/home/techsoyf/nodevenv/sunbird-backend.techsolutionfactory.com/24/lib/node_modules/express/lib/router/index.js:47:12)
    at Layer.handle [as handle_request] (/home/techsoyf/nodevenv/sunbird-backend.techsolutionfactory.com/24/lib/node_modules/express/lib/router/layer.js:95:5)
    at trim_prefix (/home/techsoyf/nodevenv/sunbird-backend.techsolutionfactory.com/24/lib/node_modules/express/lib/router/index.js:328:13) {
  statusCode: 401,
  isOperational: true
}
Error: AppError: Not authorized to access this route
    at protect (file:///home/techsoyf/sunbird-backend.techsolutionfactory.com/middleware/authMiddleware.js:40:19)
    at Layer.handle [as handle_request] (/home/techsoyf/nodevenv/sunbird-backend.techsolutionfactory.com/24/lib/node_modules/express/lib/router/layer.js:95:5)
    at trim_prefix (/home/techsoyf/nodevenv/sunbird-backend.techsolutionfactory.com/24/lib/node_modules/express/lib/router/index.js:328:13)
    at /home/techsoyf/nodevenv/sunbird-backend.techsolutionfactory.com/24/lib/node_modules/express/lib/router/index.js:286:9
    at router.process_params (/home/techsoyf/nodevenv/sunbird-backend.techsolutionfactory.com/24/lib/node_modules/express/lib/router/index.js:346:12)
    at next (/home/techsoyf/nodevenv/sunbird-backend.techsolutionfactory.com/24/lib/node_modules/express/lib/router/index.js:280:10)
    at router.handle (/home/techsoyf/nodevenv/sunbird-backend.techsolutionfactory.com/24/lib/node_modules/express/lib/router/index.js:175:3)
    at router (/home/techsoyf/nodevenv/sunbird-backend.techsolutionfactory.com/24/lib/node_modules/express/lib/router/index.js:47:12)
    at Layer.handle [as handle_request] (/home/techsoyf/nodevenv/sunbird-backend.techsolutionfactory.com/24/lib/node_modules/express/lib/router/layer.js:95:5)
    at trim_prefix (/home/techsoyf/nodevenv/sunbird-backend.techsolutionfactory.com/24/lib/node_modules/express/lib/router/index.js:328:13) {
  statusCode: 401,
  isOperational: true
}
