node:internal/modules/cjs/loader:1143
  throw err;
  ^

Error: Cannot find module 'next'
Require stack:
- /home/pyi3q7l8fxn4/public_html/vlogmd/server.js
- /usr/local/lsws/fcgi-bin/lsnode.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:1140:15)
    at Module._load (node:internal/modules/cjs/loader:981:27)
    at Module.require (node:internal/modules/cjs/loader:1231:19)
    at require (node:internal/modules/helpers:177:18)
    at Object.<anonymous> (/home/pyi3q7l8fxn4/public_html/vlogmd/server.js:3:14)
    at Module._compile (node:internal/modules/cjs/loader:1364:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1422:10)
    at Module.load (node:internal/modules/cjs/loader:1203:32)
    at Module._load (node:internal/modules/cjs/loader:1019:12)
    at Module.require (node:internal/modules/cjs/loader:1231:19) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/home/pyi3q7l8fxn4/public_html/vlogmd/server.js',
    '/usr/local/lsws/fcgi-bin/lsnode.js'
  ]
}

Node.js v18.20.8
node:internal/modules/cjs/loader:1143
  throw err;
  ^

Error: Cannot find module 'next'
Require stack:
- /home/pyi3q7l8fxn4/public_html/vlogmd/server.js
- /usr/local/lsws/fcgi-bin/lsnode.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:1140:15)
    at Module._load (node:internal/modules/cjs/loader:981:27)
    at Module.require (node:internal/modules/cjs/loader:1231:19)
    at require (node:internal/modules/helpers:177:18)
    at Object.<anonymous> (/home/pyi3q7l8fxn4/public_html/vlogmd/server.js:3:14)
    at Module._compile (node:internal/modules/cjs/loader:1364:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1422:10)
    at Module.load (node:internal/modules/cjs/loader:1203:32)
    at Module._load (node:internal/modules/cjs/loader:1019:12)
    at Module.require (node:internal/modules/cjs/loader:1231:19) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/home/pyi3q7l8fxn4/public_html/vlogmd/server.js',
    '/usr/local/lsws/fcgi-bin/lsnode.js'
  ]
}

Node.js v18.20.8
 ⚠ Invalid next.config.js options detected: 
 ⚠     Invalid input at "env.PORT"
 ⚠     Expected string, received number at "env.PORT"
 ⚠     Expected undefined, received number at "env.PORT"
 ⚠     Unrecognized key(s) in object: 'appDir' at "experimental"
 ⚠ See more info here: https://nextjs.org/docs/messages/invalid-next-config
 ⚠ Invalid next.config.js options detected: 
 ⚠     Invalid input at "env.PORT"
 ⚠     Expected string, received number at "env.PORT"
 ⚠     Expected undefined, received number at "env.PORT"
 ⚠     Unrecognized key(s) in object: 'appDir' at "experimental"
 ⚠ See more info here: https://nextjs.org/docs/messages/invalid-next-config
 ⚠ Invalid next.config.js options detected: 
 ⚠     Invalid input at "env.PORT"
 ⚠     Expected string, received number at "env.PORT"
 ⚠     Expected undefined, received number at "env.PORT"
 ⚠     Unrecognized key(s) in object: 'appDir' at "experimental"
 ⚠ See more info here: https://nextjs.org/docs/messages/invalid-next-config
 ⚠ For production Image Optimization with Next.js, the optional 'sharp' package is strongly recommended. Run 'npm i sharp', and Next.js will use it automatically for Image Optimization.
Read more: https://nextjs.org/docs/messages/sharp-missing-in-production
 ⚠ Invalid next.config.js options detected: 
 ⚠     Invalid input at "env.PORT"
 ⚠     Expected string, received number at "env.PORT"
 ⚠     Expected undefined, received number at "env.PORT"
 ⚠     Unrecognized key(s) in object: 'appDir' at "experimental"
 ⚠ See more info here: https://nextjs.org/docs/messages/invalid-next-config
 ⚠ Invalid next.config.js options detected: 
 ⚠     Invalid input at "env.PORT"
 ⚠     Expected string, received number at "env.PORT"
 ⚠     Expected undefined, received number at "env.PORT"
 ⚠     Unrecognized key(s) in object: 'appDir' at "experimental"
 ⚠ See more info here: https://nextjs.org/docs/messages/invalid-next-config
 ⚠ For production Image Optimization with Next.js, the optional 'sharp' package is strongly recommended. Run 'npm i sharp', and Next.js will use it automatically for Image Optimization.
Read more: https://nextjs.org/docs/messages/sharp-missing-in-production
 ⚠ Invalid next.config.js options detected: 
 ⚠     Invalid input at "env.PORT"
 ⚠     Expected string, received number at "env.PORT"
 ⚠     Expected undefined, received number at "env.PORT"
 ⚠     Unrecognized key(s) in object: 'appDir' at "experimental"
 ⚠ See more info here: https://nextjs.org/docs/messages/invalid-next-config
 ⚠ For production Image Optimization with Next.js, the optional 'sharp' package is strongly recommended. Run 'npm i sharp', and Next.js will use it automatically for Image Optimization.
Read more: https://nextjs.org/docs/messages/sharp-missing-in-production
 ⚠ Invalid next.config.js options detected: 
 ⚠     Invalid input at "env.PORT"
 ⚠     Expected string, received number at "env.PORT"
 ⚠     Expected undefined, received number at "env.PORT"
 ⚠     Unrecognized key(s) in object: 'appDir' at "experimental"
 ⚠ See more info here: https://nextjs.org/docs/messages/invalid-next-config
 ⚠ For production Image Optimization with Next.js, the optional 'sharp' package is strongly recommended. Run 'npm i sharp', and Next.js will use it automatically for Image Optimization.
Read more: https://nextjs.org/docs/messages/sharp-missing-in-production
