npm、yarn、pnpm设置镜像解决下载electron卡住的问题
npm config set ELECTRON_MIRROR https://npmmirror.com/mirrors/electron/ pnpm config set ELECTRON_MIRROR https://npmmirror.com/mirrors/electron/ yarn config set ELECTRON_MIRROR https://npmmirror.com/mirrors/electron/
npm ERR! `ELECTRON_MIRROR` is not a valid npm option
npm config ls
这个是地址 进文件添加一行
ELECTRON_MIRROR=https://npmmirror.com/mirrors/electron/
标签:npm,mirrors,ELECTRON,yarn,electron,https,MIRROR From: https://www.cnblogs.com/yeminglong/p/18127778