Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ERR_SSL_DECRYPTION_FAILED_OR_BAD_RECORD_MAC - can't install node packages either via npm or yarn

Can't install node packages via npm or yarn

This has been happening to me since last month and I have tried multiple solutions from the internet including stack overflow solutions like https://stackoverflow.com/a/34945326/15488503

The problem is regenerated each time I run commands like

yarn install
npm install
npx create-react-app myapp

The error which I see mostly revolves around this error message -

ERR_SSL_DECRYPTION_FAILED_OR_BAD_RECORD_MAC

enter image description here

I have tried with multiple node and npm versions and still, the problem remains the same for me.

enter image description here

like image 743
Piyush Singhania Avatar asked Nov 01 '25 00:11

Piyush Singhania


1 Answers

I had this problem when i was using internet via a USB Wifi adapter. Connected my computer with a cable solved my ERR_SSL_DECRYPTION_FAILED_OR_BAD_RECORD_MAC problem ¯\_(ツ)_/¯

like image 132
Yacine Avatar answered Nov 03 '25 04:11

Yacine



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!