上线遇到的问题
上传一串代码进行测试,npm i 的时候报错
npm: relocation error: npm: symbol SSL_set_cert_cb, version libssl.so.10 not defined in file libssl.so.10 with link time reference
问题原因:OpenSSL 版本过低,需要升级
升级命令:
yum update openssl -y
上传一串代码进行测试,npm i 的时候报错
npm: relocation error: npm: symbol SSL_set_cert_cb, version libssl.so.10 not defined in file libssl.so.10 with link time reference
问题原因:OpenSSL 版本过低,需要升级
升级命令:
yum update openssl -y