Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🩺 Stability & Availability | 🟠 Major | ⚡ Quick win
🔎 Supported by static analysis
🏁 Script executed:
Repository: spicetify/cli
Length of output: 249
🏁 Script executed:
Repository: spicetify/cli
Length of output: 1142
🌐 Web query:
pnpm 11.9.0 minimumReleaseAgeIgnoreMissingTime trustPolicy no-downgrade ERR_PNPM_MISSING_TIME release version 11.23.0💡 Result:
In pnpm 11, the ERR_PNPM_MISSING_TIME error occurs when pnpm attempts to verify package metadata against settings like minimumReleaseAge or trustPolicy, but the registry response lacks the required time (publish date) field [1][2]. To manage this, pnpm introduced the minimumReleaseAgeIgnoreMissingTime setting in v11.0.0 [3][4]. Key details regarding your query: - minimumReleaseAgeIgnoreMissingTime: This setting is true by default [1][4]. When enabled, pnpm skips the minimumReleaseAge maturity check for packages missing a time field, allowing the installation to proceed instead of failing with ERR_PNPM_MISSING_TIME [1][3]. - pnpm 11.23.0 Update: Prior to v11.23.0, while minimumReleaseAge respected this setting, the trustPolicy: no-downgrade check could still cause an install to fail with ERR_PNPM_MISSING_TIME if the registry lacked publish dates [5]. As of pnpm 11.23.0, trustPolicy now honors the minimumReleaseAgeIgnoreMissingTime setting [5]. When this setting is active, trustPolicy will skip the affected package and issue a warning instead of aborting the installation [5]. - Configuration: This setting is configured in your pnpm-workspace.yaml file [1][6]: minimumReleaseAgeIgnoreMissingTime: true If you are encountering this error on a version prior to 11.23.0, upgrading to 11.23.0 or higher is recommended to ensure that the trustPolicy check also gracefully handles missing registry metadata [5]. If you need to force a fail-safe (e.g., to ensure strict adherence to maturity policies), you can set this option to false in your workspace configuration [1][4].
Citations:
pnpm dedupefailing withERR_PNPM_MISSING_TIMEpnpm/pnpm#11238🏁 Script executed:
Repository: spicetify/cli
Length of output: 289
Align the pnpm version with the missing-time policy.
package.jsonpins this workspace topnpm@11.9.0. With this version,trustPolicy: no-downgradecan fail withERR_PNPM_MISSING_TIMEwhen a configured registry omits per-versiontimemetadata.minimumReleaseAgeIgnoreMissingTime: truedoes not cover this trust-policy check until pnpm 11.23.0. Upgrade the pin to pnpm 11.23.0 or later, or ensure that every configured registry provides per-versiontimemetadata.🤖 Prompt for AI Agents
Source: MCP tools