pnpmConfigHook: add instructions for ERR_PNPM_LOCKFILE_CONFIG_MISMATCH (#522537)

This commit is contained in:
Sefa Eyeoglu
2026-05-23 20:17:17 +00:00
committed by GitHub
@@ -90,6 +90,9 @@ pnpmConfigHook() {
echo "2. Build the derivation and wait for it to fail with a hash mismatch"
echo "3. Copy the 'got: sha256-' value back into the pnpmDeps.hash field"
echo
echo "If you see ERR_PNPM_LOCKFILE_CONFIG_MISMATCH above this, try changing the pnpm version"
echo "Found 'pnpm' with version '$pnpmVersion'"
echo
exit 1
fi