Skip to content

Instantly share code, notes, and snippets.

@garzuze
Created September 5, 2025 12:58
Show Gist options
  • Save garzuze/fa28c79c75210d920e30e2e244920787 to your computer and use it in GitHub Desktop.
Save garzuze/fa28c79c75210d920e30e2e244920787 to your computer and use it in GitHub Desktop.
How to solve pnpm not being installed with npm

If you get an error like this:

C:\Program Files\nodejs\node_modules\corepack\dist\lib\corepack.cjs:21535
  if (key == null || signature == null) throw new Error(`Cannot find matching keyid: ${JSON.stringify({ signatures, keys })}`);
                                              ^

Or

bash: pnpm: command not found

You can solve it by running:

corepack prepare [email protected] --activate
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment