npm error cause
npm error --prefer-online cannot be provided when using --prefer-offline
npm error A complete log of this run can be found in: /home/container/.npm/_logs/2026-05-01T07_49_11_327Z-debug-0.log
(node:45) [DEP0180] DeprecationWarning: fs.Stats constructor is deprecated.
(Use node --trace-deprecation ... to show where the warning was created)
Error: Cannot find module 'dotenv'
Require stack:
- /home/container/index.js
at Function.<anonymous> (node:internal/modules/cjs/loader:1383:15)
at Function.Module._resolveFilename.sharedData.moduleResolveFilenameHook.installedValue [as _resolveFilename] (/usr/local/lib/node_modules/ts-node/node_modules/@cspotcode/source-map-support/source-map-support.js:811:30)
at defaultResolveImpl (node:internal/modules/cjs/loader:1025:19)
at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1030:22)
at Function._load (node:internal/modules/cjs/loader:1192:37)
at TracingChannel.traceSync (node:diagnostics_channel:328:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:237:24)
at Module.require (node:internal/modules/cjs/loader:1463:12)
at require (node:internal/modules/helpers:147:16)
at Object.<anonymous> (/home/container/index.js:58:1) {
code: 'MODULE_NOT_FOUND',
requireStack: [ '/home/container/index.js' ]
}
Source Engine@6250a1af~ Server marked as offline...
[Pterodactyl Daemon]: ---------- Detected server process in a crashed state! ----------
[Pterodactyl Daemon]: Exit code: 1
[Pterodactyl Daemon]: Out of memory: false
[Pterodactyl Daemon]: Updating process configuration files...
[Pterodactyl Daemon]: Ensuring file permissions are set correctly, this could take a few seconds...
Source Engine@6250a1af~ Server marked as starting...
[Pterodactyl Daemon]: Pulling Docker container image, this could take a few minutes to complete...
Pulling from ptero-eggs/yolks
Status: Image is up to date for ghcr.io/ptero-eggs/yolks:nodejs_22
Digest:


Reason: Images/Videos Spam
