electron windows设置镜像地址环境变量
A complete log of this run can be found in:C:\Users\......网上部分会让你修改electron的镜像地址。可以进配置文件里改试试。
文章共118字 · 阅读需要大约1分钟
一键AI生成摘要,助你高效阅读
问答
·
网上部分会让你修改electron的镜像地址
npm config set ELECTRON_MIRROR http://npmmirror.com/mirrors/electron/
但是我用ps会提示
npm ERR! `ELECTRON_MIRROR` is not a valid npm option
npm ERR! A complete log of this run can be found in:C:\Users\<用户名>......
可以进配置文件里改试试
npm config ls
这个是地址
进文件添加一行
ELECTRON_MIRROR=https://npmmirror.com/mirrors/electron/
更多推荐
已为社区贡献1条内容
所有评论(0)