🟩 Node.js errors

Node.js runtime errors: module resolution, ports in use, file system and network errno codes.

CodeErrorWhat it means
MODULE_NOT_FOUND Error: Cannot find module 'x' (MODULE_NOT_FOUND) Node can’t resolve the module path — the package isn’t installed, or a relative path/extension is wrong.
ECONNREFUSED Error: connect ECONNREFUSED 127.0.0.1:5432 Nothing is listening at that host:port — the target service is down or you’re connecting to the wrong address.
ENOENT Error: ENOENT: no such file or directory A file or directory the program tried to open doesn’t exist at that path.
EADDRINUSE Error: listen EADDRINUSE: address already in use :::3000 Another process is already listening on that port.