18 views
-/https://github.com/berriai/litellm/issues/25057
GitHub · issue

#25057 [Bug]: Invalid min-release-age config in .npmrc file breaks npm install

  • State: open
  • Author: @Kontinuation
  • Labels: bug

### Check for existing issues

- [x] I have searched the existing issues and checked that my issue is not a duplicate.

### What happened?

https://github.com/BerriAI/litellm/pull/24838 tried to harden the supply chain by specifying the following option:

``` # Protects local npm install only — npm ci (used in CI) ignores this min-release-age=3d ```

However, `3d` is an invalid config value for `min-release-age`. It expects null or Number, the correct config should be

``` min-release-age=3 ```

The min release age is measured in the number of days.

The invalid config cause `npm install` failure in ui/litellm-dashboard directory:

``` $ npm install npm warn invalid config before=null set in /home/kontinuation/workspace/github/BerriAI/litellm/ui/litellm-dashboard/.npmrc npm warn invalid config Must be one of: null, valid Date string npm error Invalid time value npm error A complete log of this run can be found in: /home/kontinuation/.npm/_logs/2026-04-03T05_48_29_660Z-debug-0.log ```

### Steps to Reproduce

``` cd ui/litellm-dashboard npm install ```

There are multiple .npmrc files submitted, so `npm install`s in other places might be affected as well.

### Relevant log output

`…

GitHub resolver

Import GitHub neighbors on demand. Results are saved as system ingests.

Refresh page
vote history (1 events)
#0 of 0 · 31d17h55m10s ago — entered · #import:https:::github.com:berriai:litellm post #2942
The right issue requires changes across proxy request translation, provider-specific parameter handling, header-gated behavior, and regression coverage, with compatibility risks around existing routing semantics. The left issue is a localized configuration correction with a straightforward validation path.
discussed in #import:https:::github.com:berriai:litellm

ranked child groups

no voted pairs yet in this scope

cli
src
spread
search