Installation of pnpm dependency in node 20 environment failed because @pnpm/action-setup needed to be upgraded to v4
reference
https://stackoverflow.com/questions/78703676/pnpm-action-setup-self-installer-issue
Error source content
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!
Hello,
Have you tried contacting the owner who owns the GitHub action: GitHub · Where software is built ?
I built it directly through the next template on vercel,Build and deploy were not completed through github action
We don’t own GitHub action.
Can you share a deployment link?
ERR_PNPM_META_FETCH_FAIL GET https://registry.npmjs.org/eslint: Value of “this” must be of type URLSearchParams
23:41:37.751
WARN GET https://registry.npmjs.org/typescript error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
23:41:37.752
WARN GET https://registry.npmjs.org/@types%2Fnode error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
23:41:37.754
WARN GET https://registry.npmjs.org/@types%2Freact error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
23:41:37.756
WARN GET https://registry.npmjs.org/@types%2Freact-dom error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
23:41:37.756
WARN GET https://registry.npmjs.org/autoprefixer error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
23:41:37.757
WARN GET https://registry.npmjs.org/eslint error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
23:41:37.758
WARN GET https://registry.npmjs.org/eslint-config-next error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
23:41:37.759
WARN GET https://registry.npmjs.org/postcss error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
23:41:37.762
WARN GET https://registry.npmjs.org/prettier error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
23:41:37.762
WARN GET https://registry.npmjs.org/prettier-plugin-tailwindcss error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
23:41:37.763
WARN GET https://registry.npmjs.org/tailwindcss error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
23:41:37.763
WARN GET https://registry.npmjs.org/next error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
23:41:37.763
WARN GET https://registry.npmjs.org/react error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
23:41:37.764
WARN GET https://registry.npmjs.org/react-dom error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
23:41:37.773
Error: Command “pnpm install” exited with 1
23:41:37.773
Error: Command “pnpm install” exited with 1
The problem I found with reference requires upgrading the pnpm action
Thanks, is it possible to give us a minimal repository access so we can try on our end? This looks like more of a PNPM issue than Vercel but we would love to investigate.
Indeed, in that case you need to check with GitHub Action support team and the specific maintainer. It doesn’t seem like a Vercel issue
Of course. I already invited you.
Which project are you building? code/ai-drama-creator-demo
?
No, it’s in a feature branch
https://github.com/ChelesteWang/drama-creator/tree/feat-drama-creator-prod/code/drama-creator-prod
I can successfully build the specific branch:
As this isn’t a vercel issue, contact the Action owner to find the troubleshooting tips or report bug.
Thank you very much. Can you open up your space permissions to build the project? I checked diff. I expected that I did not use github action during the vercel deployment process
As a serverless platform, we don’t give access to the build container unfortunately.
@swarnava Is there any problem with my project configuration?