pnpm version 11 이상부터 뜨는 [ERR_PNPM_MINIMUM_RELEASE_AGE_VIOLATION] 에러 해결하기
이 에러는 보안 때문인건데, 최신버전을 일시적으로 다운로드 받지 못하게 만드는 옵션이다. (AI로 인해서 패키지로 해킹이 많아졌기 때문에)
[ERR_PNPM_MINIMUM_RELEASE_AGE_VIOLATION] 2 lockfile entries failed verification:
chardet@2.2.0 was published at 2026-06-20T02:00:34.000Z, within the minimumReleaseAge cutoff (2026-06-19T14:22:53.381Z)
semver@7.8.5 was published at 2026-06-19T18:32:48.972Z, within the minimumReleaseAge cutoff (2026-06-19T14:22:53.381Z)이 문제를 해결하려면,
pnpm-workspace.yaml 파일에 아래 값을 추가해주면 된다.
minimumReleaseAge: 0그러면 해결된다. 물론 보안에는 취약해진다.