解决方式
As a workaround you can turn ssl checking off in your .npmrc
执行
npm config set strict-ssl false
或者 修改~/.npmrc
strict-ssl=false
npm install 出现UNABLE_TO_GET_ISSUER_CERT_LOCALLY
原文:http://www.cnblogs.com/suyuan1573/p/6254552.html