npm config set registry https://registry.npm.taobao.org
registry="https://registry.npm.taobao.org" ELECTRON_MIRROR="https://cdn.npm.taobao.org/dist/electron/"
npm install electron -g --unsafe-perm --allow-root