Skip to content

[Bug]: pnpm lockfile config mismatch on yay installation #4467

@nasadmidev

Description

@nasadmidev

Preflight Checklist

  • I use the latest version of Pear Desktop (Application).
  • I have searched the issue tracker for a bug report that matches the one I want to file, without success.
  • I understand that pear-devs/pear-desktop has NO affiliation with Google or YouTube

Pear Desktop (Application) Version

3.11.0-1

Checklists

What operating system are you using?

Other (specify below)

Operating System Version

Arch Linux (7.0.9-arch2-1)

What CPU architecture are you using?

x64

Last Known Working Pear Desktop (Application) version

No response

Reproduction steps

  1. Install Pear Desktop via AUR using yay
  2. Error on installation
    yay -S pear-desktop

Expected Behavior

Install the pnpm libraries and compile using node 22.22.3

Actual Behavior

Exit with an error after try to install the software. Because "overrides" configuration doesn't match the value found in the lockfile. Yay exit with an error because the package requires a manual intervention.
`
mkdir: se ha creado el directorio '/home/nasadmi/.cache/yay/pear-desktop/src/.nvm'
'/home/nasadmi/.cache/yay/pear-desktop/src/.nvm/nvm.sh' -> '/usr/share/nvm/nvm.sh'
'/home/nasadmi/.cache/yay/pear-desktop/src/.nvm/nvm-exec' -> '/usr/share/nvm/nvm-exec'
Downloading and installing node v22.22.3...
Downloading https://nodejs.org/dist/v22.22.3/node-v22.22.3-linux-x64.tar.xz...
################################################################################################# 100.0%
Computing checksum with sha256sum
Checksums matched!
Now using node v22.22.3 (npm v10.9.8)
Creating default alias: default -> 22 (-> v22.22.3 *)
==> Las fuentes están listas.
==> Creando el paquete: pear-desktop 3.11.0-1 (lun 25 may 2026 23:07:34)
==> Comprobando dependencias mientras se ejecuta...
==> Comprobando dependencias mientras se compila...
==> ADVERTENCIA: Usando el árbol existente $srcdir/
==> Eliminando el directorio $pkgdir/...
==> Iniciando build()...
[WARN] The "pnpm" field in package.json is no longer read by pnpm. The following keys were ignored: "pnpm.overrides", "pnpm.patchedDependencies", "pnpm.neverBuiltDependencies". See https://pnpm.io/settings for the new home of each setting.
[ERR_PNPM_LOCKFILE_CONFIG_MISMATCH] Cannot proceed with the frozen installation. The current "overrides" configuration doesn't match the value found in the lockfile

Update your lockfile using "pnpm install --no-frozen-lockfile"
==> ERROR: Se produjo un fallo en build().
Cancelando...
-> error al compilar: pear-desktop-exit status 4
-> No se pudieron instalar los siguientes paquetes. Se requiere intervención manual:
pear-desktop - exit status 4
`

Enabled plugins

Anything

Additional Information

Environment information:

  • OS: Arch Linux (7.0.9-arch2-1)
  • AUR package manager: yay
  • CPU: Intel 11th Generation Core i3
  • RAM: 8GB
  • GPU: Intel Tiger Lake-LP GT2
  • WM: Qtile and Picom with X11

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions