大家知道由于某些原因,網絡是被墻掉的,而electron的源地址是在國外,所以建議使用 淘寶鏡像 npm install -g cnpm --registry=https://registry.npm.taobao.org