pnpm
5 traces
- ERR_PNPM_NO_MATURE_MATCHING_VERSION — pnpm 11 defaults minimumReleaseAge to 1440 min, new versions wait 24hInstalling a version that was published minutes/hours ago fails or resolves to an older version: Typical triggers: you just published your own package and try to consume it, a hotfix release is "not found", or a…
- ERR_PNPM_IGNORED_BUILDS Ignored build scripts — pnpm 11 makes unapproved builds an error; use allowBuildsOn pnpm 11 a fresh clone, CI job, pnpm add, or a scaffolder (create-nx-workspace, etc.) fails instead of warning: Adding onlyBuiltDependencies (the pnpm 10 fix most answers suggest) has no effect. Fix: After (pnpm 11)…
- pnpm 10: eslint/prettier plugins no longer hoisted to root node_modules — editor/IDE can't find themAfter upgrading to pnpm 10, an editor extension, a globally run eslint, or a shared config in a monorepo can't resolve eslint-plugin-, eslint-config- or prettier-plugin- packages that are only dependencies of another…
- pnpm 11 ignores the package.json "pnpm" field and non-auth .npmrc settings — move them to pnpm-workspace.yamlAfter upgrading to pnpm 11, settings that used to work silently stop applying: overrides/patchedDependencies/onlyBuiltDependencies in package.json → "pnpm": {...}, or .npmrc lines like shamefully-hoist=true,…
- Ignored build scripts: @swc/core, better-sqlite3. Run "pnpm approve-builds" — pnpm 10 skips dependency postinstallAfter upgrading to pnpm 10, pnpm install succeeds but prints a warning like: Then native modules fail at runtime (e.g. Fix: Interactive: run pnpm approve-builds after pnpm install and select the packages; it records…