1、在win7 64上用npm安装phantomjs时出现Error: UNABLE_TO_VERIFY_LEAF_SIGNATURE错误的解决方法。
解决方案,关掉strict-ssl即可,如下:
npm config set strict-ssl false
用完之后恢复:
npm config set strict-ssl true
1、在win7 64上用npm安装phantomjs时出现Error: UNABLE_TO_VERIFY_LEAF_SIGNATURE错误的解决方法。
解决方案,关掉strict-ssl即可,如下:
npm config set strict-ssl false
用完之后恢复:
npm config set strict-ssl true