当前位置:网站首页>安装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,解决。
边栏推荐
- The uniapp scroll view solves the problems of high adaptability and bullet frame rolling penetration.
- Mmc5603nj geomagnetic sensor (Compass example)
- The tutor put forward 20 pieces of advice to help graduate students successfully complete their studies: first, don't plan to take a vacation
- Solicitation for JGG special issue: spatio-temporal omics
- Software testing weekly (issue 78): the more confident you are about the future, the more patient you are about the present.
- 牛牛的组队竞赛
- mysql使用update联表更新的方法
- Using onvif protocol to operate the device
- Web security summary
- (数据库提权——Redis)Redis未授权访问漏洞总结
猜你喜欢
随机推荐
Ripper of vulnhub
2022年湖南工学院ACM集训第二次周测题解
vulnhub之momentum
Vulnhub geminiinc V2
The LINQ expression node type 'ArrayIndex' is not supported in LINQ to Entities
Some common terms
Kibana - installation and configuration of kibana
phpcms 提示信息頁面跳轉showmessage
2022 东北四省赛 VP记录/补题
Repo ~ common commands
R language ggplot2 visualization: gganimate package creates dynamic line graph animation (GIF) and uses transition_ The reveal function displays data step by step along a given dimension in the animat
STL教程8-map
STL教程10-容器共性和使用场景
R语言使用gridExtra包的grid.arrange函数将ggplot2包的多个可视化图像横向组合起来,ncol参数自定义组合图列数、nrow参数自定义组合图行数
一些常用术语
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
Unity3D学习笔记5——创建子Mesh
R语言使用原生包(基础导入包、graphics)中的hist函数可视化直方图(histogram plot)
vulnhub之cereal
Go语言实现静态服务器