要求https://registry.npmjs.org/yargs失败

时间:2018-05-08 05:45:50

标签: javascript npm

我无法从npm下载任何软件包。它显示请求https://registry.npmjs.org/yargs失败,原因:写EPROTO 101057795:错误:14077419:SSL例程:SSL23_GET_SERVER_HELLO:tlsv1警报访问被拒绝:openssl \ ssl \ s23_clnt.c:802以下是完整的日志文件

{"data":{"id":12,"email":"test@test.com","provider":"phone","uid":"test@test.com","name":null,"image":null,"phone_number":"myphonenumber"}}

1 个答案:

答案 0 :(得分:0)

我遇到了同样的错误

npm ERR! request to https://registry.npmjs.org/clsx failed, reason: write EPROTO...

运行后

npm install -g npm

没有错误再次出现