解决方案在stackoverflow上找到的,关掉strict-ssl即可,如下:
npm config set strict-ssl false
用完之后恢复:
npm config set strict-ssl true
http://stackoverflow.com/questions/20747817/error-unable-to-verify-leaf-signature-phonegap-installation
---------------------
作者:newborn2012
来源:CSDN
原文:https://blog.csdn.net/newborn2012/article/details/21071015
版权声明:本文为博主原创文章,转载请附上博文链接!