Skip to content

Action failing with setup that has previously been working #135

Closed

Description

@Carson-JG

Getting the following error when running action. Action was working yesterday, and has worked for almost a year.

Running self-installer...
   WARN  GET https://registry.npmjs.org/pnpm error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
   WARN  GET https://registry.npmjs.org/pnpm error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
   ERR_PNPM_META_FETCH_FAIL  GET https://registry.npmjs.org/pnpm: Value of "this" must be of type URLSearchParams
Error: Something went wrong, self-installer exits with code 1
Installation Completed!

This is our setup:

      - name: Install pnpm
        uses: pnpm/action-setup@v2
        with:
          version: latest

Activity

  1. shreyas-iyer commented on Jul 3, 2024

    @shreyas-iyer

    Seeing this as well with version: 8.11.0. Was totally fine a couple hours ago.

  2. haq204 commented on Jul 3, 2024

    @haq204

    can confirm seeing the issue as on 8.11.0

  3. changed the title [-]Action Failing with Setup that has previously been working[/-] [+]Action failing with setup that has previously been working[/+] on Jul 3, 2024
  4. fvictorio commented on Jul 3, 2024

    @fvictorio

    Upgrading the action to v4 seems to fix this:

            uses: pnpm/action-setup@v4
    
  5. craftyc0der commented on Jul 3, 2024

    @craftyc0der

    upgrading to v4 fixes this for me

  6. jmcgrath207 commented on Jul 3, 2024

    @jmcgrath207

    Upgrading the action to v4 seems to fix this:

            uses: pnpm/action-setup@v4
    

    This fix worked when jumping from pnpm/action-setup@v2 . Thanks @fvictorio !

  7. chris24sahadeo commented on Jul 3, 2024

    @chris24sahadeo

    Also got this error on v2. v4 fixes it

  8. nhuray commented on Jul 3, 2024

    @nhuray

    We also upgrade to v4 and it resolves the issue !

  9. added a commit that references this issue on Jul 3, 2024
  10. added a commit that references this issue on Jul 3, 2024
  11. 69 remaining items

  12. added a commit that references this issue on Oct 2, 2024
  13. StefanMorar commented on Oct 16, 2024

    @StefanMorar

    We previously used pnpm version 7 (7.30.3) with pnpm/action-setup@v3. Updating the action to pnpm/action-setup@v4 alone did not fix the registry.npmjs errors.

    We had to update the pnpm version too. Using pnpm 8 (8.15.9) with pnpm/action-setup@v4 fixed the errors.

  14. added a commit that references this issue on Feb 8, 2025
  15. 01923413454 commented on Nov 2, 2025

    @01923413454
    • name: Setup pnpm
      uses: pnpm/action-setup@v4.2.0
  16. added a commit that references this issue on Nov 25, 2025
  17. added a commit that references this issue on Nov 25, 2025
  18. added a commit that references this issue on Dec 6, 2025
  19. mohamadpori commented on Jul 2, 2026

    @mohamadpori

    کی می‌تونه کمکم کنه این گیتهارو به پول تبدیل کنم لطفاً اگه میشه کمکم کنید من اصلا سر در نمیارم

  20. quantuminformation commented on Jul 3, 2026

    @quantuminformation

    wth

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

      Issue actions