gulp的一些问题

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

猜你喜欢

转载自blog.csdn.net/mlonly/article/details/86538192