pnpm安装electron报错404解决方案

pnpm安装electron报错404解决方案

自定义镜像地址和版本解决

pnpm config set registry https://registry.npmmirror.com/

pnpm config set electron_mirror=https://cdn.npmmirror.com/binaries/electron/ 
pnpm config set electron_custom_dir=14.2.5

参考:

https://github.com/electron/electron/issues/22792

posted @ 2022-07-16 22:52  灯塔下的守望者  阅读(335)  评论(0编辑  收藏  举报