解决方案在stackoverflow上找到的,关掉strict-ssl即可,如下:
npm config set strict-ssl false
npm install -g express
$npm -g express-generator
express -e d:/blog
SET DEBUG=d:/blog:* & npm start
npm install -g core-js
npm start
cnpm config set strict-ssl false
用完之后恢复:
npm config set strict-ssl true
cnpm config set strict-ssl true
© 版权声明
文章版权归作者所有,未经允许请勿转载。
THE END