Answers for "npm err! code err_ssl_decryption_failed_or_bad_record_mac"

0

npm err! code err_ssl_decryption_failed_or_bad_record_mac

Disabling strict-ssl mode will remove this error.

npm set strict-ssl false
Since this is turning off SSL security, we should try this as last step if below two steps don't help.

This issue can arise due to incompatibility between SSL certificate file of npm and node registry.

Try

1) telling your current version of npm to use node's ca instead of built in ca

npm config set ca=""

2) OR upgrading your version of npm

npm install npm -g --ca=null
Posted by: Guest on May-01-2022

Code answers related to "npm err! code err_ssl_decryption_failed_or_bad_record_mac"

Browse Popular Code Answers by Language