Skip to content

action-setup V2 issue: ERR_PNPM_META_FETCH_FAIL #136

Closed
@ImPrankster

Description

@ImPrankster

Recently when running pnpm/action-setup@v2 in GitHub CI I got this error:

GET https://registry.npmjs.org/pnpm: Value of "this" must be of type URLSearchParams

Using node-version 20
It happens during self-install, seems to be a connection problem
It started about one day ago

Activity

alokVishu

alokVishu commented on Jul 4, 2024

@alokVishu

I have also faced the same issue.

image

BenjaminNolan

BenjaminNolan commented on Jul 4, 2024

@BenjaminNolan

Can confirm this started some time between now and 17:00 UTC yesterday, when it was working fine. I suspect NPM have put out an update which broke it, perhaps relating to the deprecation warning for registry.npmjs.org:

» curl -I https://registry.npmjs.org     
HTTP/2 200 
date: Thu, 04 Jul 2024 06:13:03 GMT
content-type: application/json
cf-ray: 89dcf7980d501bc4-MAD
cf-cache-status: DYNAMIC
npm-notice: This endpoint is deprecated. Use https://replicate.npmjs.com instead.
server: cloudflare

Edit: I didn't realise we were using v2 rather than v4, which seems to work, so the fix genuinely is "upgrade to v4" :)

alokVishu

alokVishu commented on Jul 4, 2024

@alokVishu

updated pnpm/action-setup@v2 => pnpm/action-setup@v4 fix the issue

dvins

dvins commented on Jul 4, 2024

@dvins

Duplicate of #135.

The proposed "fix" is a work around and method of going forward provided GitHub workflows can be readily updated and approved. But it does not resolve stuck / failing workflow runs, many of which cannot be triggered again without additional code updates via merge or rebase of each one to pull in the use of the updated workflow action version.

added a commit that references this issue on Jul 4, 2024
added a commit that references this issue on Jul 4, 2024
added a commit that references this issue on Jul 5, 2024

12 remaining items

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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

        Participants

        @BenjaminNolan@dvins@zkochan@ImPrankster@alokVishu

        Issue actions

          action-setup V2 issue: ERR_PNPM_META_FETCH_FAIL · Issue #136 · pnpm/action-setup