当前位置:网站首页>安装electron失败的解决办法
安装electron失败的解决办法
2022-07-03 11:05:00 【过客猫2022】
使用electron,安照官方例子,结果是失败的。原因是下载官网的二进制包失败,结果不能执行。
也用了npm的镜像:registry = "https://registry.npmmirror.com/",也不行。
后来网上折腾一段时间,看到一个开源项目(基于electron),写到要在npm设置electron的镜像,才可以。
使用命令:npm config set ELECTRON_MIRROR http://npm.taobao.org/mirrors/electron/
完后,再重新npm install,再npm start,解决。
边栏推荐
- R language uses the aggregate function to calculate the mean value (sum) of dataframe data grouping aggregation without setting na The result of RM calculation. If the group contains the missing value
- Vulnhub geminiinc V2
- 银泰百货点燃城市“夜经济”
- How to make others fear you
- previous permutation lintcode51
- Xiaopeng P7 hit the guardrail and the airbag did not pop up. The official responded that the impact strength did not meet the ejection requirements
- Uniapp implementation Click to load more
- Event preview | the live broadcast industry "rolled in" to drive new data growth points with product power
- XML (DTD, XML parsing, XML modeling)
- libvirt 中体验容器
猜你喜欢

C language AES encryption and decryption

(database authorization - redis) summary of unauthorized access vulnerabilities in redis

解决msvcp120d.dll和msvcr120d.dll缺失

外插散点数据

《剑指offer 04》二维数组查找

STL教程9-容器元素深拷贝和浅拷贝问题

同事写了一个责任链模式,bug无数...

Use typora to draw flow chart, sequence diagram, sequence diagram, Gantt chart, etc. for detailed explanation

导师对帮助研究生顺利完成学业提出了20条劝告:第一,不要有度假休息的打算.....

Event preview | the live broadcast industry "rolled in" to drive new data growth points with product power
随机推荐
Ripper of vulnhub
Cadence background color setting
repo ~ 常用命令
PHP基础
在CoreOS下部署WordPress实例教程
Groovy test class and JUnit test
R language uses the aggregate function to calculate the mean value (sum) of dataframe data grouping aggregation without setting na The result of RM calculation. If the group contains the missing value
如何将数字字符串转换为整数
PHP server interacts with redis with a large number of close_ Wait analysis
Keepalived中Master和Backup角色选举策略
vulnhub之momentum
R语言使用gridExtra包的grid.arrange函数将ggplot2包的多个可视化图像横向组合起来,ncol参数自定义组合图列数、nrow参数自定义组合图行数
DS90UB949
R语言使用data.table包进行数据聚合统计计算滑动窗口统计值(Window Statistics)、计算滑动分组中位数(median)并合并生成的统计数据到原数据集中
牛牛的组队竞赛
Ripper of vulnhub
R语言使用gridExtra包的grid.arrange函数将lattice包的多个可视化图像横向组合起来,ncol参数自定义组合图列数、nrow参数自定义组合图行数
Stm32hal library upgrades firmware based on flash analog U disk (detailed explanation)
Extrapolated scatter data
Phpcms prompt message page Jump to showmessage