
dependencies vs devDependencies in package.json: the difference in plain words, why a Vite site barely cares, and why your deploy fails with vite: not found.

What package-lock.json is, in plain words: package.json stores ranges, not versions. The exact versions live in the lockfile — which is why you must not delete it.

npm, pnpm or yarn: all three install the same packages. We break down the difference in speed, disk space and strictness — and who should pick what.

npm is a warehouse of ready-made JavaScript code plus the command that installs it. What npm is in plain words, what npm install does, and why it's both handy and risky.

npm install fails mostly for 4 reasons: the Node version, a broken cache, a dependency conflict, or the network. Here's each one — how to check and how to fix, no full reinstall.
One line — 'npm install' — and a folder weighs more than your whole project. Here's what a package manager is, and why it's both a superpower and a risk.