GeezerVison is showing github.com — Action failing with setup that has previously been working · Issue #135 · pnpm/action-setup
Action failing with setup that has previously been working #135DescriptionGetting 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
Reacted by Franco Victorio, Shreyas Iyer, Joshua Oster-Morris, Aaron, Vinicius Batista, Marcos Mellado, Mark T. B. Carroll, Michael, John McGrath, Christopher Sahadeo and 59 more Activityshreyas-iyer commented on Jul 3, 2024 Seeing this as well with version: 8.11.0. Was totally fine a couple hours ago. Reacted by Joshua Oster-Morris, Antony Fagundez, Alex Yang, Caleb Evans, Terry M, Jiahao Guo, David Vins, funayama teppei, Jason.lu, galihariad-pret and 1 more haq204 commented on Jul 3, 2024 can confirm seeing the issue as on 8.11.0 changed the title [-]Action Failing with Setup that has previously been working[/-] [+]Action failing with setup that has previously been working[/+] on Jul 3, 2024fvictorio commented on Jul 3, 2024 Upgrading the action to v4 seems to fix this:
uses: pnpm/action-setup@v4
Reacted by Marcos Mellado, Nick Carson, Antony Fagundez, Shreyas Iyer, Michael, Vinicius Batista, John McGrath, Patricio Palladino, Joao Belem Jr, Jeff Thiessen and 61 more Reacted by Marcos Mellado, Kyle Bedell, Nick Carson, Mark T. B. Carroll, Shreyas Iyer, Vinicius Batista, John McGrath, Patricio Palladino, Joao Belem Jr, Christopher Sahadeo and 17 more Reacted by David Vins, funayama teppei, Metamorphic, Robbert-Jan Sebregts, oz and 도혜원 Reacted by Patricio Palladino, Joao Belem Jr, Christopher Sahadeo, Nick Carson, Xvezda, Marty Cochrane, Ani Joshi, funayama teppei, Robbert-Jan Sebregts, François Levasseur and 10 more Reacted by nua, Douglas Gomes, Paul Renwick, Karel Fourie, Deborah David, funayama teppei, Robbert-Jan Sebregts, Ebert Mota, Danny Lake, Martin Luo and 4 more craftyc0der commented on Jul 3, 2024 upgrading to v4 fixes this for me Reacted by galihariad-pret jmcgrath207 commented on Jul 3, 2024
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 ! chris24sahadeo commented on Jul 3, 2024 Also got this error on v2. v4 fixes it nhuray commented on Jul 3, 2024 We also upgrade to v4 and it resolves the issue ! StefanMorar commented on Oct 16, 2024 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. 01923413454 commented on Nov 2, 2025 mohamadpori commented on Jul 2, 2026 کی میتونه کمکم کنه این گیتهارو به پول تبدیل کنم لطفاً اگه میشه کمکم کنید من اصلا سر در نمیارم quantuminformation commented on Jul 3, 2026
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|