7

When I try to install any package on NPM, I'm getting the error below;

47 verbose stack FetchError: request to https://artifactory.thy.com/artifactory/api/npm/kac-npm/@angular%2fcli failed, reason: write EPROTO B8150000:error:0A000152:SSL routines:final_renegotiate: unsafe legacy renegotiation disabled: c:\ws\deps\openssl\openssl\ssl\statem\extensions.c:908:

NodeJS Version: 18 NPM Version: 8

Nurullah YILMAZ
  • 121
  • 1
  • 1
  • 5
  • Just happened to me on 18.12.1 installed yesterday on production server. Is this reported to nodejs? – akc42 Nov 08 '22 at 15:41

2 Answers2

5

I fixed the problem by reverting back to NodeJS LTS Version(NodeJS V16.17)

Nurullah YILMAZ
  • 121
  • 1
  • 1
  • 5
3

I know this post is a few months old, but instead of falling back to an older version, this solution from this MadDocNC worked for me and allowed me to use the latest version of Node 18. https://stackoverflow.com/a/74600467/2950027

Andrew
  • 77
  • 1
  • 9