-
-
Notifications
You must be signed in to change notification settings - Fork 948
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
pnpm install throw Error UNABLE_TO_VERIFY_LEAF_SIGNATURE, but npm install is ok #4689
Comments
+1 |
I'm facing the same issue, any news on the subject ? |
Having the same issue when installing a package from a private gitlab registry (cert should be ok though) |
Having the same issue, It's work with npm but not with pnpm. |
same issue. platform: linux |
try to run:
|
I don't understand why it doesn't work because when https://github.com/pnpm/components/blob/20a4aadfa2b7bc5f5ce2febff648277470d20966/network/proxy-agent/proxy-agent.ts#L116 Maybe this is the issue: |
…ertificates ref pnpm/pnpm#4689 close #8
Try 7.27.1 |
but this error happens in a script. I don't think we have control over how the scripts fetch. Does it work with npm or yarn? |
yes, both npm and yarn works as expected. |
I am not sure what is the issue. I see the warning in the output about |
I've add this env setting when running the |
checked, and tried to export proxy settings as environment before run pnpm install, didn't help. export http_proxy=http://127.0.0.1:4000
export https_proxy=$http_proxy
export HTTP_PROXY=$http_proxy
export HTTPS_PROXY=$http_proxy
pnpm install --loglevel verbose |
pnpm version:
6.31.0
Code to reproduce the issue:
package.json
run
npm install
is fine, butpnpm install --registry=https://registry.npmjs.org
throw ErrorExpected behavior:
install success.
Actual behavior:
install failed.there is a screenshot.
Additional information:
node -v
prints: v16.0.0The text was updated successfully, but these errors were encountered: