Skip to content

Instantly share code, notes, and snippets.

@serkan-ozal
Created December 8, 2025 15:30
Show Gist options
  • Select an option

  • Save serkan-ozal/8f84cfa3c313a796c23ce153b7deaeee to your computer and use it in GitHub Desktop.

Select an option

Save serkan-ozal/8f84cfa3c313a796c23ce153b7deaeee to your computer and use it in GitHub Desktop.
AWS Lambda Nodejs CJS Module Load StackTrace in Nodejs v24
at Object.<anonymous> (/var/task/index.js:2:13)
at Module._compile (node:internal/modules/cjs/loader:1760:14)
at Object..js (node:internal/modules/cjs/loader:1893:10)
at Module.load (node:internal/modules/cjs/loader:1480:32)
at Module._load (node:internal/modules/cjs/loader:1299:12)
at TracingChannel.traceSync (node:diagnostics_channel:328:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:244:24)
at cjsLoader (node:internal/modules/esm/translators:342:5)
at ModuleWrap.<anonymous> (node:internal/modules/esm/translators:234:7)
at ModuleJob.run (node:internal/modules/esm/module_job:377:25)
at async onImport.tracePromise.__proto__ (node:internal/modules/esm/loader:691:26)
at async tryAwaitImport (file:///var/runtime/index.mjs:555:30)
at async loadModule (file:///var/runtime/index.mjs:565:22)
at async UserFunctionLoader.load (file:///var/runtime/index.mjs:508:20)
at async createRuntime (file:///var/runtime/index.mjs:1221:52)
at async ignition (file:///var/runtime/index.mjs:1637:21)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment