Tag

#npm

6articles
BasicsNov 2, 2026

dependencies vs devDependencies — the difference, and why it breaks your deploy

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.

5 min read
BasicsJul 26, 2026

What is a lockfile — and why “works on my machine” is no longer an excuse

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.

5 min read
AI toolsJul 19, 2026

npm vs pnpm vs yarn — which package manager to pick as a beginner

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.

6 min read
BasicsJul 18, 2026

What is npm — why one command pulls in thousands of files

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.

5 min read
GuidesJul 14, 2026

Why npm install fails — 4 causes and how to fix each

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.

6 min read
?
BasicsJul 2, 2026

What is a package manager (npm) — and where the node_modules folder comes from

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.

4 min read