Error: Client network socket disconnected before secure TLS connection was established

我在下载node的phantomjs,出现如下问题:

 解决方式为:

npm install  phantomjs-prebuilt cnpm --registry=https://registry.npm.taobao.org

将npm的镜像改为国内的即可。

原文地址:https://www.cnblogs.com/lxz123/p/15138388.html