nodejs

9 Posts
nodejs
Node.js is a free, cross-platform runtime that executes JavaScript outside the browser, created by Ryan Dahl in 2009. It's built on Google's V8 engine and uses an event-driven, non-blocking I/O model, which makes it efficient for handling many concurrent connections. Its npm registry is the largest package ecosystem available, and frameworks like Express and Nest simplify building servers and APIs. It's less suited to heavy CPU-bound work, since long computations block the main thread.

Error: listen EADDRINUSE — Causes and Fixes

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.