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

Action failing with setup that has previously been working #135

Closed
Carson-JG opened this issue Jul 3, 2024 · 30 comments · Fixed by microsoft/FluidFramework#21782
Closed

Comments

@Carson-JG
Copy link

Carson-JG commented Jul 3, 2024

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
@shreyas-iyer
Copy link

shreyas-iyer commented Jul 3, 2024

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

@haq204
Copy link

haq204 commented Jul 3, 2024

can confirm seeing the issue as on 8.11.0

@Carson-JG Carson-JG changed the title Action Failing with Setup that has previously been working Action failing with setup that has previously been working Jul 3, 2024
@fvictorio
Copy link

Upgrading the action to v4 seems to fix this:

        uses: pnpm/action-setup@v4

@craftyc0der
Copy link

upgrading to v4 fixes this for me

kschelonka added a commit to Pocket/pocket-monorepo that referenced this issue Jul 3, 2024
kschelonka added a commit to Pocket/pocket-monorepo that referenced this issue Jul 3, 2024
@jmcgrath207
Copy link

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 !

github-merge-queue bot pushed a commit to Pocket/pocket-monorepo that referenced this issue Jul 3, 2024
@chris24sahadeo
Copy link

Also got this error on v2. v4 fixes it

enuesaa added a commit to enuesaa/kakkofn that referenced this issue Jul 3, 2024
enuesaa added a commit to enuesaa/kakkofn that referenced this issue Jul 3, 2024
@nhuray
Copy link

nhuray commented Jul 3, 2024

We also upgrade to v4 and it resolves the issue !

caleb531 added a commit to caleb531/personal-website that referenced this issue Jul 3, 2024
caleb531 added a commit to caleb531/2fa-code-generator that referenced this issue Jul 3, 2024
caleb531 added a commit to caleb531/connect-four that referenced this issue Jul 3, 2024
caleb531 added a commit to caleb531/faith-dashboard that referenced this issue Jul 3, 2024
caleb531 added a commit to caleb531/flip-book that referenced this issue Jul 3, 2024
caleb531 added a commit to caleb531/pswd-matcher that referenced this issue Jul 3, 2024
caleb531 added a commit to caleb531/rollup-plugin-peggy that referenced this issue Jul 3, 2024
caleb531 added a commit to caleb531/truthy that referenced this issue Jul 3, 2024
caleb531 added a commit to caleb531/workday-time-calculator that referenced this issue Jul 3, 2024
caleb531 added a commit to caleb531/youversion-suggest-api that referenced this issue Jul 3, 2024
scarf005 added a commit to cataclysmbnteam/Cataclysm-BN that referenced this issue Jul 8, 2024
scarf005 added a commit to cataclysmbnteam/Cataclysm-BN that referenced this issue Jul 8, 2024
@CollinHerber
Copy link

Are we getting a fix for this in the v4 and v3 versions of the action? I am seeing this with 9.4.0 of pnpm and v4 of the action.

@zkochan
Copy link
Member

zkochan commented Jul 8, 2024

This issue was reproducible only in v2 of the action as far as I can tell. As you can see, everyone is upgrading to v4 to fix the issue.

@nubunto
Copy link

nubunto commented Jul 8, 2024

only the modern javascript ecosystem can have software be broken absolutely out of nowhere

@CollinHerber
Copy link

I've triple checked that I'm using v4 . I'm even using the direct commit hash instead of just v4 and still seeing this.

@zkochan
Copy link
Member

zkochan commented Jul 9, 2024

@CollinHerber do you have a link to the action? If no, you can just use corepack instead to install pnpm. Like here:

https://github.com/pnpm/pnpm.io/blob/6e37a4afdf6cac6dbe37b8e3aea709ce85efaa77/.github/workflows/ci.yml#L19-L22

himself65 added a commit to himself65/waku that referenced this issue Jul 10, 2024
danielnaab added a commit to GSA-TTS/forms that referenced this issue Jul 10, 2024
* Updated the focus on the drag list and UI updates

* Add link to nvmrc and NVM repository

* Upgrade to pnpm/action-setup@v4 (v2 is now incompatible with npm - pnpm/action-setup#135)

* Fix test of page title editing

* Fixed the style of the draggable item states

* Fixed the style of the draggable item states

---------

Co-authored-by: Daniel Naab <[email protected]>
Co-authored-by: Daniel Naab <[email protected]>
tonyxiao added a commit to openint-bak/openint that referenced this issue Jul 25, 2024
@quantuminformation
Copy link

any quick fix for
image

aloisklink pushed a commit to mermaid-js/mermaid that referenced this issue Oct 2, 2024
travis added a commit to storacha/blob-fetcher that referenced this issue Oct 2, 2024
@StefanMorar
Copy link

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.

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

Successfully merging a pull request may close this issue.