Skip to content

Update(README.md): use npm ci instead of npm i.#157

Merged
tjbck merged 1 commit into
open-webui:mainfrom
milaforge:patch-1
Jul 31, 2024
Merged

Update(README.md): use npm ci instead of npm i.#157
tjbck merged 1 commit into
open-webui:mainfrom
milaforge:patch-1

Conversation

@milaforge

Copy link
Copy Markdown
Contributor

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.

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.
@milaforge milaforge changed the title use npm ci instead of npm i. Update(README.md): use npm ci instead of npm i. Jul 27, 2024
@tjbck

tjbck commented Jul 31, 2024

Copy link
Copy Markdown
Contributor

LGTM!

@tjbck
tjbck merged commit 2afed0a into open-webui:main Jul 31, 2024
danielrosehill pushed a commit to danielrosehill/openwebui-docs that referenced this pull request Mar 2, 2025
Update(README.md): use npm ci instead of npm i.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants