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

[BUG] <FetchError reason: unable to verify the first certificate> #7394

Closed
2 tasks done
WilmerHj opened this issue Apr 20, 2024 · 2 comments
Closed
2 tasks done

[BUG] <FetchError reason: unable to verify the first certificate> #7394

WilmerHj opened this issue Apr 20, 2024 · 2 comments
Labels
Bug thing that needs fixing Needs Triage needs review for next steps Release 10.x

Comments

@WilmerHj
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

This issue exists in the latest npm version

  • I am using the latest npm

Current Behavior

Everytime NPM tries to request/ fetch anything, it doesn't work due to "reason: unable to verify the first certificate".

npm install:
image

npx expo start:
image

Expected Behavior

No response

Steps To Reproduce

  1. Windows CMD,
  2. Running npm@10.5.2, node@v20.12.1
  3. Run 'npm install reactstrap'
  4. See error...
    npm ERR! request to https://registry.npmjs.org/reactstrap failed, reason: unable to verify the first certificate

Environment

  • npm: npm@10.5.2
  • Node.js: node@v20.12.1
  • OS Name: Windows 11
  • System Model Name:
  • npm config:
; copy and paste output from `npm config ls` here
@WilmerHj WilmerHj added Bug thing that needs fixing Needs Triage needs review for next steps Release 10.x labels Apr 20, 2024
@Peglo98
Copy link

Peglo98 commented Apr 20, 2024

For me, the issue was ESET 32 blocking the SSL connection. Try turning off this feature or disabling the entire SSL/TLS filtering in your antivirus.
image

@wraithgar
Copy link
Member

This appears to be an issue between node and windows, not npm itself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug thing that needs fixing Needs Triage needs review for next steps Release 10.x
Projects
None yet
Development

No branches or pull requests

3 participants