Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing update of Corepack? #634

Open
Kingju777 opened this issue Feb 6, 2025 · 1 comment
Open

Missing update of Corepack? #634

Kingju777 opened this issue Feb 6, 2025 · 1 comment

Comments

@Kingju777
Copy link

Kingju777 commented Feb 6, 2025

i have used https://pnpm.io/next/continuous-integration#azure-pipelines to create my Pipelines but i now get the error Internal Error: Cannot find matching keyid: . The pipeline was approximately 10 days old when the error occurred.

i have found that the following change fixes the issue (from https://stackoverflow.com/questions/79411275/after-heroku-restart-pnpm-error-cannot-find-matching-keyid)

original

- script: |
    corepack enable
    corepack prepare pnpm@latest-10 --activate
    pnpm config set store-dir $(pnpm_config_cache)
  displayName: "Setup pnpm"

fix

- script: |
    npm install -g corepack@latest
    corepack enable
    corepack prepare pnpm@latest-10 --activate
    pnpm config set store-dir $(pnpm_config_cache)
  displayName: "Setup pnpm"

Q: Is this even the correct fix?

@zkochan
Copy link
Member

zkochan commented Feb 6, 2025

This is one possible fix. The second option is to disable the integrity check.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants