Action Required

Warehouse System - Node.js App Initialized

The cPanel startup file app.cjs was successfully launched by Phusion Passenger, but the production bundle dist/server.cjs is missing.

How to complete setup on Namecheap cPanel:

  1. Open cPanel Terminal (or connect via SSH).
  2. Navigate to your application root directory.
  3. Run the build commands:
    npm install
    npm run build
  4. Return to cPanel Setup Node.js App and click Restart.

Error Details:

Error [ERR_UNKNOWN_BUILTIN_MODULE]: No such built-in module: node:sqlite
    at Module._load (node:internal/modules/cjs/loader:1031:13)
    at Module.require (node:internal/modules/cjs/loader:1289:19)
    at require (node:internal/modules/helpers:182:18)
    at Object. (/home/skylzxie/skylightwarehouse/dist/server.cjs:42: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)
    at require (node:internal/modules/helpers:182:18)