安装
1.全局安装electron v12.0.9
sudo ELECTRON_MIRROR=http://ftp.loongnix.cn/electron/LoongArch/ npm install -g electron@12.0.9
2. 非全局安装electron v12.0.9
ELECTRON_MIRROR=http://ftp.loongnix.cn/electron/LoongArch/ npm install electron@12.0.9