当前位置:网站首页>安裝electron失敗的解决辦法
安裝electron失敗的解决辦法
2022-07-03 11:51: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语言使用data.table包进行数据聚合统计计算滑动窗口统计值(Window Statistics)、计算滑动分组中位数(median)并合并生成的统计数据到原数据集中
- Viewing binary bin files with notepad++ editor
- Ripper of vulnhub
- Excel quick cross table copy and paste
- 利用Zabbix动态监控磁盘I/O
- previous permutation lintcode51
- Niuniu's team competition
- vulnhub之presidential
- Repo ~ common commands
- STL tutorial 10 container commonalities and usage scenarios
猜你喜欢
vulnhub之GeminiInc v2
"Jianzhi offer 04" two-dimensional array search
(数据库提权——Redis)Redis未授权访问漏洞总结
导师对帮助研究生顺利完成学业提出了20条劝告:第一,不要有度假休息的打算.....
量化计算调研
vulnhub之momentum
Web security summary
Ripper of vulnhub
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
vulnhub之cereal
随机推荐
cgroup简介
Repo ~ common commands
previous permutation lintcode51
STL教程9-容器元素深拷贝和浅拷贝问题
Master and backup role election strategy in kept
基于turtlebot3实现SLAM建图及自主导航仿真
R language uses grid of gridextra package The array function combines multiple visual images of the lattice package horizontally, and the ncol parameter defines the number of columns of the combined g
The excel table is transferred to word, and the table does not exceed the edge paper range
How PHP solves the problem of high concurrency
Modular programming of single chip microcomputer
vulnhub之narak
836. 合并集合(DAY 63)并查集
Some common terms
Excel快速跨表复制粘贴
Qt OpenGL相机的使用
Software testing weekly (issue 78): the more confident you are about the future, the more patient you are about the present.
vulnhub之Ripper
鸿蒙第三次培训(项目实训)
Sheet1$.输出[Excel 源输出].列[XXX] 出错。返回的列状态是:“文本被截断,或者一个或多个字符在目标代码页中没有匹配项。”。
剑指offer专项32-96题做题笔记