79623753

Date: 2025-05-15 15:50:31
Score: 3
Natty:
Report link

0

I'm running into an issue when trying to install dependencies using npm install on my Windows 11 machine. The installation fails with the following error:

npm ERR! code ERR_SSL_CIPHER_OPERATION_FAILED npm ERR! errno ERR_SSL_CIPHER_OPERATION_FAILED npm ERR! Invalid response body while trying to fetch https://registry.npmjs.org/scheduler: A8070000:error:1C800066:Provider routines:ossl_gcm_stream_update:cipher operation failed:c:\ws\deps\openssl\openssl\providers\implementations\ciphers\ciphercommon_gcm.c:320: What I’ve Tried So Far: Cleared npm cache: npm cache clean --force

Tried with legacy peer dependencies: npm install --legacy-peer-deps

Node.js and npm versions:

node -v -> v18.18.2
npm -v -> 9.8.1 Ran terminal as Administrator

Deleted node_modules and package-lock.json and reinstalled

Updated Node.js to the latest LTS

Changed npm registry to HTTP: npm config set registry http://registry.npmjs.org/

Disabled strict SSL: npm config set strict-ssl false

Verified OpenSSL version (openssl version)

Temporarily disabled antivirus/firewall

Tried yarn install instead of npm install

None of these steps resolved the issue.

My Questions: Could this error be due to corrupted OpenSSL libraries or a broken Node installation? Is there a known issue with specific cipher configurations on Windows 11? Are there environment variables or system settings that could affect SSL cipher operations for Node/npm? System Info: OS: Windows 11 (fully updated) Node.js: v18.18.2 npm: 9.8.1 Shell: PowerShell (Admin mode) Would really appreciate any help or insight. Thank you! 🙏

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (1): any help
  • Blacklisted phrase (0.5): 🙏
  • Long answer (-1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Pranav Divade