Why Node says ERR_MODULE_NOT_FOUND when the file exists
Node's ERR_MODULE_NOT_FOUND keeps firing when the file is right there. Every real cause, from missing extensions to broken package exports, plus the fix for each one.
Node's ERR_MODULE_NOT_FOUND keeps firing when the file is right there. Every real cause, from missing extensions to broken package exports, plus the fix for each one.
Node's 'listen EADDRINUSE: address already in use' means something already owns that port. Here's why, and the exact fixes for dev, watch mode, and Docker.
TypeError: x is not a function fires when you call a value that isn't callable — a typo, a lost `this`, or the wrong shape from an API. Here's how to fix each case.
Fix Node's 'ReferenceError: require is not defined in ES module scope' and its __dirname sibling using createRequire and import.meta.
Node.js's SyntaxError: Cannot use import statement outside a module still fires today, usually from "type": "commonjs". Here is the exact fix and why.
Node's 'Error: Cannot find module' (MODULE_NOT_FOUND) explained frame by frame — why require() can't see your package and how to fix it for good.
Node throws Error [ERR_MODULE_NOT_FOUND] when an ESM import can't be resolved — usually a missing file extension or directory index. Here's the exact fix.
Why Node.js crashes with 'UnhandledPromiseRejectionWarning' or throws an uncaught exception, and how to fix and prevent unhandled promise rejections for good.
TypeError: Cannot read properties of undefined (reading 'x') explained across Chrome, Firefox, Safari, and Node — with the real fix, not just a null check.