写入 EPROTO B8150000:错误:0A000152:SSL 例程:final_renegotiate:禁用不安全的旧版重新协商

Nur*_*MAZ 7 node.js npm npm-install

当我尝试在 NPM 上安装任何软件包时,出现以下错误;

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:
Run Code Online (Sandbox Code Playgroud)

NodeJS 版本:18 NPM 版本:8

Nur*_*MAZ 4

我通过恢复到 NodeJS LTS 版本(NodeJS V16.17)解决了这个问题