Node.js troubleshooting
| Problem | Check |
|---|---|
| Node.js menu item is missing | the feature is not enabled for the server or package; contact support |
| Create application is disabled | application quota, package permission or runtime availability |
| HTTP 503 | startup file, build, environment variables, log and Node.js compatibility |
node or npm not found | CloudLinux environment activation, Terminal/SSH and runtime path |
ERR_REQUIRE_ESM | project compatibility with the older Passenger runtime |
| CSS, JS or images return 404 | route, basePath, assetPrefix and build directory |
| Changes are not visible | a new build, application restart and browser/CDN cache |
Diagnostic procedure
- Verify the domain, URL, application root, startup file, mode and Node.js version.
- Check the path and filename case.
- Activate the correct environment and run
node -v,npm -v,npm ciandnpm run build. - Review the application or Passenger log and remove secrets before sharing.
- Restart and test with
curl -I https://DOMAIN/and a browser.
Limits and stability
Builds can consume substantial memory, CPU and processes. If a build is terminated without a clear error, check CPU, RAM, EP and I/O usage in DirectAdmin. Persistently high demand, background workers, WebSockets or multiple services may need a larger plan or VPS.
What to send support
Include the server, domain, account name, selected runtime, output from node -v and npm -v, startup file and relevant build or log lines. Never send .env, passwords, cookies or API keys.