当前位置:网站首页>安裝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,解决。
边栏推荐
- PHP Basics
- This article explains the complex relationship between MCU, arm, MCU, DSP, FPGA and embedded system
- POI excel cell wrap
- 2022年湖南工学院ACM集训第二次周测题解
- 剑指offer专项32-96题做题笔记
- rxjs Observable filter Operator 的实现原理介绍
- MySQL uses the method of updating linked tables with update
- 2022 northeast four provinces match VP record / supplementary questions
- STL教程10-容器共性和使用场景
- How PHP solves the problem of high concurrency
猜你喜欢

金额计算用 BigDecimal 就万无一失了?看看这五个坑吧~~

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

Numpy np.max和np.maximum实现relu函数

Based on MCU, how to realize OTA differential upgrade with zero code and no development?

2022 northeast four provinces match VP record / supplementary questions

GCC compilation process and dynamic link library and static link library

"Jianzhi offer 04" two-dimensional array search

Kibana~Kibana的安装和配置

Software testing weekly (issue 78): the more confident you are about the future, the more patient you are about the present.

解决msvcp120d.dll和msvcr120d.dll缺失
随机推荐
Yintai department store ignites the city's "night economy"
Based on MCU, how to realize OTA differential upgrade with zero code and no development?
(database authorization - redis) summary of unauthorized access vulnerabilities in redis
Vulnhub geminiinc
uniapp实现点击加载更多
基于turtlebot3实现SLAM建图及自主导航仿真
The uniapp scroll view solves the problems of high adaptability and bullet frame rolling penetration.
Cadence background color setting
Nestjs配置服务,配置Cookie和Session
Machine learning 3.2 decision tree model learning notes (to be supplemented)
STL Tutorial 9 deep copy and shallow copy of container elements
STL tutorial 8-map
MySQL searches and sorts out common methods according to time
Niuniu's team competition
mysql使用update联表更新的方法
P3250 [hnoi2016] Network + [necpc2022] f.tree path tree section + segment tree maintenance heap
STL教程10-容器共性和使用场景
外插散点数据
vulnhub之GeminiInc v2
错排问题 (抽奖,发邮件)