electron 卡在 node install.js

2019独角兽企业重金招聘Python工程师标准>>> hot3.png

在下载官网的quick start 项目时,按照官网首页的指引直接执行npm install 的时候,会卡住。 除了设置npm地址外,还需要设置相关包的镜像地址

···

registry=https://registry.npm.taobao.org
sass_binary_site=https://npm.taobao.org/mirrors/node-sass/
phantomjs_cdnurl=http://npm.taobao.org/mirrors/phantomjs
ELECTRON_MIRROR=http://npm.taobao.org/mirrors/electron/

···

参考来自

转载于:https://my.oschina.net/boogoogle/blog/1475543

你可能感兴趣的:(electron 卡在 node install.js)