Skip to content

Missing update of Corepack? #634

@Kingju777

Description

@Kingju777

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions