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 · 7 comments
Open

cannot install pnpm #535

noshower opened this issue Jul 17, 2024 · 7 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

@xhwgood
Copy link

xhwgood commented Oct 29, 2024

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

我加上这个没用,启用终端代理也没用,搞不懂了(

@flynncao
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.

我加上这个没用,启用终端代理也没用,搞不懂了(

我重新安装了node并corepack enable pnpm这个问题就解决了 。已设置腾讯云的环境变量

@front-refined
Copy link

mac:COREPACK_NPM_REGISTRY=https://registry.npmmirror.com pnpm -v,is ok

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

6 participants