由于NPM无法获取本地SSL证书,因此无法安装SHA3。怎么解决?

时间:2019-07-27 11:54:36

标签: javascript node.js ssl npm sha-3

我正在尝试在本地安装SHA3,但由于NPM引发错误并报告无法获取本地发行者证书,因此无法实现。

这是我收到的错误消息:

/usr/bin/nodejs: /lib/x86_64-linux-gnu/libssl.so.1.0.0: no version information available (required by /usr/bin/nodejs)
/usr/bin/nodejs: /lib/x86_64-linux-gnu/libssl.so.1.0.0: no version information available (required by /usr/bin/nodejs)
/usr/bin/nodejs: /lib/x86_64-linux-gnu/libssl.so.1.0.0: no version information available (required by /usr/bin/nodejs)
/usr/bin/nodejs: /lib/x86_64-linux-gnu/libcrypto.so.1.0.0: no version information available (required by /usr/bin/nodejs)
/usr/bin/nodejs: /lib/x86_64-linux-gnu/libcrypto.so.1.0.0: no version information available (required by /usr/bin/nodejs)
npm ERR! Linux 4.18.0-25-generic
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "sha3"
npm ERR! node v8.10.0
npm ERR! npm  v3.5.2
npm ERR! code UNABLE_TO_GET_ISSUER_CERT_LOCALLY

npm ERR! unable to get local issuer certificate
npm ERR! 
npm ERR! If you need help, you may report this error at:
npm ERR!     <https://github.com/npm/npm/issues>

0 个答案:

没有答案