其他分享
首页 > 其他分享> > electron 镜像安装问题

electron 镜像安装问题

作者:互联网

# 该命令会打开npm的配置文件,请在空白处添加 请自行去除下面三行前的#号
npm config edit

# registry=https://registry.npmmirror.com
# electron_mirror=https://cdn.npmmirror.com/binaries/electron/
# electron_builder_binaries_mirror=https://npmmirror.com/mirrors/electron-builder-binaries/

# 然后关闭该窗口,重启命令行,删除node_modules文件夹,并重新安装依赖即可

标签:binaries,com,electron,https,mirror,镜像,npmmirror,安装
来源: https://www.cnblogs.com/makalochen/p/16326653.html