You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue:
When attempting to use Corepack with pnpm@9.0.0-alpha.5 on NixOS, the installation process encounters an error due to a version mismatch. This issue also arises when enabling Corepack, leading to an internal error related to symlink creation in a read-only file system.
Error Messages:
During pnpm installation:
$ corepack use pnpm@*
ERR_PNPM_BAD_PM_VERSION This project is configured to use v9.0.0-alpha.5+sha256.9b9b9a4f189d3837e7cfcabed63ab7b4afa6844ed98c6e1705bd70d0d9bef60b of pnpm. Your current pnpm is v9.0.0
Expected Behavior:
The installation of pnpm and enabling Corepack should proceed without version mismatches or errors related to read-only file systems.
Actual Behavior:
Errors are encountered during the installation of pnpm, enabling Corepack
The text was updated successfully, but these errors were encountered:
The read-only issue was addressed by #244 specifically for the Nix-OS use case :) You could of course define your own nix expression to create a jumper script:
The read-only issue was addressed by #244 specifically for the Nix-OS use case :) You could of course define your own nix expression to create a jumper script:
Thanks,
I've written a blog on creating a custom pnpm script aka (jumper nix script) and integrating it with direnv.
Issue:
When attempting to use Corepack with pnpm@9.0.0-alpha.5 on NixOS, the installation process encounters an error due to a version mismatch. This issue also arises when enabling Corepack, leading to an internal error related to symlink creation in a read-only file system.
Error Messages:
During pnpm installation:
While enabling Corepack:
Steps to Reproduce NodeJS Unstable Installation:
Steps to Reproduce:
Run the following commands to install pnpm:
Attempt to enable Corepack:
Environment Information:
Expected Behavior:
The installation of pnpm and enabling Corepack should proceed without version mismatches or errors related to read-only file systems.
Actual Behavior:
Errors are encountered during the installation of pnpm, enabling Corepack
The text was updated successfully, but these errors were encountered: