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/wcccbdyv/panafricanexpress.com/server.js:4:14)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/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 '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/wcccbdyv/panafricanexpress.com/server.js:4:14)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/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 '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/wcccbdyv/panafricanexpress.com/server.js:4:14)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/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 '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/wcccbdyv/panafricanexpress.com/server.js:4:14)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/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/wcccbdyv/panafricanexpress.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/wcccbdyv/panafricanexpress.com/server.js:4:14)
    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/wcccbdyv/panafricanexpress.com/server.js',
    '/usr/local/lsws/fcgi-bin/lsnode.js'
  ]
}

Node.js v20.20.0
node:internal/modules/cjs/loader:1210
  throw err;
  ^

Error: Cannot find module 'next'
Require stack:
- /home/wcccbdyv/panafricanexpress.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/wcccbdyv/panafricanexpress.com/server.js:4:14)
    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/wcccbdyv/panafricanexpress.com/server.js',
    '/usr/local/lsws/fcgi-bin/lsnode.js'
  ]
}

Node.js v20.20.0
Unhandled Rejection: Error: Could not find a production build in the '.next' directory. Try building your app with 'next build' before starting the production server. https://nextjs.org/docs/messages/production-start-no-build-id
    at ignore-listed frames
Unhandled Rejection: Error: Could not find a production build in the '.next' directory. Try building your app with 'next build' before starting the production server. https://nextjs.org/docs/messages/production-start-no-build-id
    at ignore-listed frames
Unhandled Rejection: Error: Could not find a production build in the '.next' directory. Try building your app with 'next build' before starting the production server. https://nextjs.org/docs/messages/production-start-no-build-id
    at ignore-listed frames
Unhandled Rejection: Error: Could not find a production build in the '.next' directory. Try building your app with 'next build' before starting the production server. https://nextjs.org/docs/messages/production-start-no-build-id
    at ignore-listed frames
Unhandled Rejection: Error: Could not find a production build in the '.next' directory. Try building your app with 'next build' before starting the production server. https://nextjs.org/docs/messages/production-start-no-build-id
    at ignore-listed frames
Unhandled Rejection: Error: Could not find a production build in the '.next' directory. Try building your app with 'next build' before starting the production server. https://nextjs.org/docs/messages/production-start-no-build-id
    at ignore-listed frames
Unhandled Rejection: Error: Could not find a production build in the '.next' directory. Try building your app with 'next build' before starting the production server. https://nextjs.org/docs/messages/production-start-no-build-id
    at ignore-listed frames
Unhandled Rejection: Error: Could not find a production build in the '.next' directory. Try building your app with 'next build' before starting the production server. https://nextjs.org/docs/messages/production-start-no-build-id
    at ignore-listed frames
Unhandled Rejection: Error: Could not find a production build in the '.next' directory. Try building your app with 'next build' before starting the production server. https://nextjs.org/docs/messages/production-start-no-build-id
    at ignore-listed frames
Unhandled Rejection: Error: Could not find a production build in the '.next' directory. Try building your app with 'next build' before starting the production server. https://nextjs.org/docs/messages/production-start-no-build-id
    at ignore-listed frames
Unhandled Rejection: Error: Could not find a production build in the '.next' directory. Try building your app with 'next build' before starting the production server. https://nextjs.org/docs/messages/production-start-no-build-id
    at ignore-listed frames
⚠ Installing TypeScript as it was not found while loading "next.config.ts".
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE   package: '@capacitor/cli@8.3.0',
npm warn EBADENGINE   required: { node: '>=22.0.0' },
npm warn EBADENGINE   current: { node: 'v20.20.0', npm: '10.8.2' }
npm warn EBADENGINE }
⨯ Failed to load next.config.ts, see more info here https://nextjs.org/docs/messages/next-config-error
Unhandled Rejection: Error: Failed to transpile "next.config.ts".
    at ignore-listed frames {
  [cause]: Error: Cannot find module 'typescript'
  Require stack:
  - /home/wcccbdyv/nodevenv/panafricanexpress.com/20/lib/node_modules/next/dist/build/next-config-ts/transpile-config.js
  - /home/wcccbdyv/nodevenv/panafricanexpress.com/20/lib/node_modules/next/dist/server/config.js
  - /home/wcccbdyv/nodevenv/panafricanexpress.com/20/lib/node_modules/next/dist/server/next.js
  - /home/wcccbdyv/panafricanexpress.com/server.js
  - /usr/local/lsws/fcgi-bin/lsnode.js
      at ignore-listed frames {
    code: 'MODULE_NOT_FOUND',
    requireStack: [
      '/home/wcccbdyv/nodevenv/panafricanexpress.com/20/lib/node_modules/next/dist/build/next-config-ts/transpile-config.js',
      '/home/wcccbdyv/nodevenv/panafricanexpress.com/20/lib/node_modules/next/dist/server/config.js',
      '/home/wcccbdyv/nodevenv/panafricanexpress.com/20/lib/node_modules/next/dist/server/next.js',
      '/home/wcccbdyv/panafricanexpress.com/server.js',
      '/usr/local/lsws/fcgi-bin/lsnode.js'
    ]
  }
}
⚠ Installing TypeScript as it was not found while loading "next.config.ts".
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE   package: '@capacitor/cli@8.3.0',
npm warn EBADENGINE   required: { node: '>=22.0.0' },
npm warn EBADENGINE   current: { node: 'v20.20.0', npm: '10.8.2' }
npm warn EBADENGINE }
⨯ Failed to load next.config.ts, see more info here https://nextjs.org/docs/messages/next-config-error
Unhandled Rejection: Error: Failed to transpile "next.config.ts".
    at ignore-listed frames {
  [cause]: Error: Cannot find module 'typescript'
  Require stack:
  - /home/wcccbdyv/nodevenv/panafricanexpress.com/20/lib/node_modules/next/dist/build/next-config-ts/transpile-config.js
  - /home/wcccbdyv/nodevenv/panafricanexpress.com/20/lib/node_modules/next/dist/server/config.js
  - /home/wcccbdyv/nodevenv/panafricanexpress.com/20/lib/node_modules/next/dist/server/next.js
  - /home/wcccbdyv/panafricanexpress.com/server.js
  - /usr/local/lsws/fcgi-bin/lsnode.js
      at ignore-listed frames {
    code: 'MODULE_NOT_FOUND',
    requireStack: [
      '/home/wcccbdyv/nodevenv/panafricanexpress.com/20/lib/node_modules/next/dist/build/next-config-ts/transpile-config.js',
      '/home/wcccbdyv/nodevenv/panafricanexpress.com/20/lib/node_modules/next/dist/server/config.js',
      '/home/wcccbdyv/nodevenv/panafricanexpress.com/20/lib/node_modules/next/dist/server/next.js',
      '/home/wcccbdyv/panafricanexpress.com/server.js',
      '/usr/local/lsws/fcgi-bin/lsnode.js'
    ]
  }
}
⚠ Installing TypeScript as it was not found while loading "next.config.ts".
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE   package: '@capacitor/cli@8.3.0',
npm warn EBADENGINE   required: { node: '>=22.0.0' },
npm warn EBADENGINE   current: { node: 'v20.20.0', npm: '10.8.2' }
npm warn EBADENGINE }
⨯ Failed to load next.config.ts, see more info here https://nextjs.org/docs/messages/next-config-error
Unhandled Rejection: Error: Failed to transpile "next.config.ts".
    at ignore-listed frames {
  [cause]: Error: Cannot find module 'typescript'
  Require stack:
  - /home/wcccbdyv/nodevenv/panafricanexpress.com/20/lib/node_modules/next/dist/build/next-config-ts/transpile-config.js
  - /home/wcccbdyv/nodevenv/panafricanexpress.com/20/lib/node_modules/next/dist/server/config.js
  - /home/wcccbdyv/nodevenv/panafricanexpress.com/20/lib/node_modules/next/dist/server/next.js
  - /home/wcccbdyv/panafricanexpress.com/server.js
  - /usr/local/lsws/fcgi-bin/lsnode.js
      at ignore-listed frames {
    code: 'MODULE_NOT_FOUND',
    requireStack: [
      '/home/wcccbdyv/nodevenv/panafricanexpress.com/20/lib/node_modules/next/dist/build/next-config-ts/transpile-config.js',
      '/home/wcccbdyv/nodevenv/panafricanexpress.com/20/lib/node_modules/next/dist/server/config.js',
      '/home/wcccbdyv/nodevenv/panafricanexpress.com/20/lib/node_modules/next/dist/server/next.js',
      '/home/wcccbdyv/panafricanexpress.com/server.js',
      '/usr/local/lsws/fcgi-bin/lsnode.js'
    ]
  }
}
⚠ Installing TypeScript as it was not found while loading "next.config.ts".
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE   package: '@capacitor/cli@8.3.0',
npm warn EBADENGINE   required: { node: '>=22.0.0' },
npm warn EBADENGINE   current: { node: 'v20.20.0', npm: '10.8.2' }
npm warn EBADENGINE }
⨯ Failed to load next.config.ts, see more info here https://nextjs.org/docs/messages/next-config-error
Unhandled Rejection: Error: Failed to transpile "next.config.ts".
    at ignore-listed frames {
  [cause]: Error: Cannot find module 'typescript'
  Require stack:
  - /home/wcccbdyv/nodevenv/panafricanexpress.com/20/lib/node_modules/next/dist/build/next-config-ts/transpile-config.js
  - /home/wcccbdyv/nodevenv/panafricanexpress.com/20/lib/node_modules/next/dist/server/config.js
  - /home/wcccbdyv/nodevenv/panafricanexpress.com/20/lib/node_modules/next/dist/server/next.js
  - /home/wcccbdyv/panafricanexpress.com/server.js
  - /usr/local/lsws/fcgi-bin/lsnode.js
      at ignore-listed frames {
    code: 'MODULE_NOT_FOUND',
    requireStack: [
      '/home/wcccbdyv/nodevenv/panafricanexpress.com/20/lib/node_modules/next/dist/build/next-config-ts/transpile-config.js',
      '/home/wcccbdyv/nodevenv/panafricanexpress.com/20/lib/node_modules/next/dist/server/config.js',
      '/home/wcccbdyv/nodevenv/panafricanexpress.com/20/lib/node_modules/next/dist/server/next.js',
      '/home/wcccbdyv/panafricanexpress.com/server.js',
      '/usr/local/lsws/fcgi-bin/lsnode.js'
    ]
  }
}
⚠ Installing TypeScript as it was not found while loading "next.config.ts".
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE   package: '@capacitor/cli@8.3.0',
npm warn EBADENGINE   required: { node: '>=22.0.0' },
npm warn EBADENGINE   current: { node: 'v20.20.0', npm: '10.8.2' }
npm warn EBADENGINE }
⨯ Failed to load next.config.ts, see more info here https://nextjs.org/docs/messages/next-config-error
Unhandled Rejection: Error: Failed to transpile "next.config.ts".
    at ignore-listed frames {
  [cause]: Error: Cannot find module 'typescript'
  Require stack:
  - /home/wcccbdyv/nodevenv/panafricanexpress.com/20/lib/node_modules/next/dist/build/next-config-ts/transpile-config.js
  - /home/wcccbdyv/nodevenv/panafricanexpress.com/20/lib/node_modules/next/dist/server/config.js
  - /home/wcccbdyv/nodevenv/panafricanexpress.com/20/lib/node_modules/next/dist/server/next.js
  - /home/wcccbdyv/panafricanexpress.com/server.js
  - /usr/local/lsws/fcgi-bin/lsnode.js
      at ignore-listed frames {
    code: 'MODULE_NOT_FOUND',
    requireStack: [
      '/home/wcccbdyv/nodevenv/panafricanexpress.com/20/lib/node_modules/next/dist/build/next-config-ts/transpile-config.js',
      '/home/wcccbdyv/nodevenv/panafricanexpress.com/20/lib/node_modules/next/dist/server/config.js',
      '/home/wcccbdyv/nodevenv/panafricanexpress.com/20/lib/node_modules/next/dist/server/next.js',
      '/home/wcccbdyv/panafricanexpress.com/server.js',
      '/usr/local/lsws/fcgi-bin/lsnode.js'
    ]
  }
}
⚠ Installing TypeScript as it was not found while loading "next.config.ts".
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE   package: '@capacitor/cli@8.3.0',
npm warn EBADENGINE   required: { node: '>=22.0.0' },
npm warn EBADENGINE   current: { node: 'v20.20.0', npm: '10.8.2' }
npm warn EBADENGINE }
⨯ Failed to load next.config.ts, see more info here https://nextjs.org/docs/messages/next-config-error
Unhandled Rejection: Error: Failed to transpile "next.config.ts".
    at ignore-listed frames {
  [cause]: Error: Cannot find module 'typescript'
  Require stack:
  - /home/wcccbdyv/nodevenv/panafricanexpress.com/20/lib/node_modules/next/dist/build/next-config-ts/transpile-config.js
  - /home/wcccbdyv/nodevenv/panafricanexpress.com/20/lib/node_modules/next/dist/server/config.js
  - /home/wcccbdyv/nodevenv/panafricanexpress.com/20/lib/node_modules/next/dist/server/next.js
  - /home/wcccbdyv/panafricanexpress.com/server.js
  - /usr/local/lsws/fcgi-bin/lsnode.js
      at ignore-listed frames {
    code: 'MODULE_NOT_FOUND',
    requireStack: [
      '/home/wcccbdyv/nodevenv/panafricanexpress.com/20/lib/node_modules/next/dist/build/next-config-ts/transpile-config.js',
      '/home/wcccbdyv/nodevenv/panafricanexpress.com/20/lib/node_modules/next/dist/server/config.js',
      '/home/wcccbdyv/nodevenv/panafricanexpress.com/20/lib/node_modules/next/dist/server/next.js',
      '/home/wcccbdyv/panafricanexpress.com/server.js',
      '/usr/local/lsws/fcgi-bin/lsnode.js'
    ]
  }
}
⚠ Installing TypeScript as it was not found while loading "next.config.ts".
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE   package: '@capacitor/cli@8.3.0',
npm warn EBADENGINE   required: { node: '>=22.0.0' },
npm warn EBADENGINE   current: { node: 'v20.20.0', npm: '10.8.2' }
npm warn EBADENGINE }
⨯ Failed to load next.config.ts, see more info here https://nextjs.org/docs/messages/next-config-error
Unhandled Rejection: Error: Failed to transpile "next.config.ts".
    at ignore-listed frames {
  [cause]: Error: Cannot find module 'typescript'
  Require stack:
  - /home/wcccbdyv/nodevenv/panafricanexpress.com/20/lib/node_modules/next/dist/build/next-config-ts/transpile-config.js
  - /home/wcccbdyv/nodevenv/panafricanexpress.com/20/lib/node_modules/next/dist/server/config.js
  - /home/wcccbdyv/nodevenv/panafricanexpress.com/20/lib/node_modules/next/dist/server/next.js
  - /home/wcccbdyv/panafricanexpress.com/server.js
  - /usr/local/lsws/fcgi-bin/lsnode.js
      at ignore-listed frames {
    code: 'MODULE_NOT_FOUND',
    requireStack: [
      '/home/wcccbdyv/nodevenv/panafricanexpress.com/20/lib/node_modules/next/dist/build/next-config-ts/transpile-config.js',
      '/home/wcccbdyv/nodevenv/panafricanexpress.com/20/lib/node_modules/next/dist/server/config.js',
      '/home/wcccbdyv/nodevenv/panafricanexpress.com/20/lib/node_modules/next/dist/server/next.js',
      '/home/wcccbdyv/panafricanexpress.com/server.js',
      '/usr/local/lsws/fcgi-bin/lsnode.js'
    ]
  }
}
