Skip to content

Non-existent environment variables COREPACK_INTEGRITY_CHECK and COREPACK_USE_LATEST referenced in error message #849

Description

@samppanja

Hello,
The error message in sources/npmRegistryUtils.ts#L83 contains the following:
Corepack cannot download the latest stable version of ${packageName}; you can disable signature verification by setting COREPACK_INTEGRITY_CHECK to 0 in your env, or instruct Corepack to use the latest stable release known by this version of Corepack by setting COREPACK_USE_LATEST to 0

Both of these environment variables, COREPACK_INTEGRITY_CHECK and COREPACK_USE_LATEST are only mentioned here in this error message and nowhere else in the codebase.

I would assume the correct ones would be COREPACK_INTEGRITY_KEYS and COREPACK_DEFAULT_TO_LATEST.

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