[PR #157] [MERGED] Update(README.md): use npm ci instead of npm i. #264

Closed
opened 2026-02-15 17:16:07 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/docs/pull/157
Author: @miladtsx
Created: 7/27/2024
Status: Merged
Merged: 7/31/2024
Merged by: @tjbck

Base: mainHead: patch-1


📝 Commits (1)

  • 246a94c use npm ci instead of npm i.

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 README.md (+1 -1)

📄 Description

The command npm ci is preferred over npm i when there is a package-lock.json file because it ensures a consistent and reproducible installation of dependencies.

In contrast, npm i (or npm install) installs dependencies based on the package.json file and updates the package-lock.json file accordingly. If there are conflicts between the two files, npm i may introduce changes that you didn't intend to make.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/open-webui/docs/pull/157 **Author:** [@miladtsx](https://github.com/miladtsx) **Created:** 7/27/2024 **Status:** ✅ Merged **Merged:** 7/31/2024 **Merged by:** [@tjbck](https://github.com/tjbck) **Base:** `main` ← **Head:** `patch-1` --- ### 📝 Commits (1) - [`246a94c`](https://github.com/open-webui/docs/commit/246a94cc7be9b2ab79c5349248f4601e8f1a441b) use npm ci instead of npm i. ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+1 -1) </details> ### 📄 Description The command `npm ci` is preferred over `npm i` when there is a `package-lock.json` file because it ensures a consistent and reproducible installation of dependencies. In contrast, `npm i (or npm install)` installs dependencies based on the `package.json` file and updates the `package-lock.json` file accordingly. If there are conflicts between the two files, `npm i` may introduce changes that you didn't intend to make. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-15 17:16:07 -05:00
yindo closed this issue 2026-02-15 17:16:07 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: open-webui/docs#264