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

cannot install pnpm #535

Open
noshower opened this issue Jul 17, 2024 · 4 comments
Open

cannot install pnpm #535

noshower opened this issue Jul 17, 2024 · 4 comments

Comments

@noshower
Copy link

Cannot install pnpm in gitlab cicd, but it was possible last week.

node version: 20.12.0

image
@vobile-wangzhenfeng
Copy link

same problem

Internal Error: Error when performing the request to https://registry.npmjs.org/pnpm/-/pnpm-8.15.4.tgz; for troubleshooting help, see https://github.com/nodejs/corepack#troubleshooting

@vobile-wangzhenfeng
Copy link

Cannot install pnpm in gitlab cicd, but it was possible last week.

node version: 20.12.0

image

registry.npmjs.org is blocked by the GFW

@vobile-wangzhenfeng
Copy link

At present by setting the environment variable in the Jenkins COREPACK_NPM_REGISTRY=https://mirrors.cloud.tencent.com/npm to solve the problem.

@justorez
Copy link

justorez commented Aug 4, 2024

At present by setting the environment variable in the Jenkins COREPACK_NPM_REGISTRY=https://mirrors.cloud.tencent.com/npm to solve the problem.

I prefer the Alibaba's mirror.

# windows terminal
setx COREPACK_NPM_REGISTRY https://registry.npmmirror.com

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

No branches or pull requests

3 participants