mirror of
https://github.com/open-webui/docs.git
synced 2026-07-22 02:25:23 -04:00
[PR #157] [MERGED] Update(README.md): use npm ci instead of npm i. #264
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 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:
main← Head:patch-1📝 Commits (1)
246a94cuse 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 ciis preferred overnpm iwhen there is apackage-lock.jsonfile because it ensures a consistent and reproducible installation of dependencies.In contrast,
npm i (or npm install)installs dependencies based on thepackage.jsonfile and updates thepackage-lock.jsonfile accordingly. If there are conflicts between the two files,npm imay 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.