Tagged articles
4 articles
Page 1 of 1
Code Mala Tang
Code Mala Tang
Apr 24, 2025 · Operations

When npm install Fails: npm ci, --legacy-peer-deps & --force Explained

Developers often struggle with choosing the right npm command for CI/CD pipelines, so this guide compares npm install and npm ci, explains version specifiers, and details how --legacy-peer-deps and --force can resolve dependency conflicts, registry issues, and build failures.

ci/cddependency-managementforce
0 likes · 9 min read
When npm install Fails: npm ci, --legacy-peer-deps & --force Explained
Tencent Music Tech Team
Tencent Music Tech Team
Jun 23, 2017 · Backend Development

New Features and Changes in npm@5: Detailed Overview and Comparison with Yarn

npm 5 introduces automatic package‑lock generation, default --save, enhanced Git and file‑dependency handling, new prepack/postpack scripts, stronger integrity checks, a fully managed cache and registry tweaks, while narrowing Yarn’s speed advantage despite early bugs, making it a compelling alternative for npm‑centric workflows.

YARNdependency managementnpm
0 likes · 15 min read
New Features and Changes in npm@5: Detailed Overview and Comparison with Yarn