在windows 64上用npm安装时出现Error: UNAB
2017-09-09 本文已影响0人
shonn_zhang
解决方案在stackoverflow上找到的,关掉strict-ssl即可,如下:
npm config set strict-ssl false
强制用http连接,而不是https
用完之后恢复:
npm config set strict-ssl true
解决方案在stackoverflow上找到的,关掉strict-ssl即可,如下:
npm config set strict-ssl false
强制用http连接,而不是https
用完之后恢复:
npm config set strict-ssl true