当前位置:网站首页>Install the pit that the electron has stepped on
Install the pit that the electron has stepped on
2022-07-04 01:12:00 【fridayCodeFly】
1. New project folder .
Get into cmd, Navigate to the new folder . Or directly in the folder shift+ Command prompt .
1.1 Installation error .err1 Wait for a long list of errors .
npm install electron --save-dev
Use this command to install unsuccessfully
npm install --save-dev electron
Using this command seems to install , But the waiting time is too long . And gave up. .
Finally using
npm install --arch=ia32 --platform=win32 electron
It seems that the installation was successful .
Check it out
npx electron -v
Installation successful
A folder and several files are added under the new project folder
It can be started directly
npx electron .
// The above is the official website tutorial, which gives a running code , After operation , You don't succeed , Prompt error .
// Rear handle . Get rid of . The successful running .
npx electron
边栏推荐
- Query efficiency increased by 10 times! Three optimization schemes to help you solve the deep paging problem of MySQL
- 不得不会的Oracle数据库知识点(一)
- 功能:求5行5列矩阵的主、副对角线上元素之和。注意, 两条对角线相交的元素只加一次。例如:主函数中给出的矩阵的两条对角线的和为45。
- Wechat official account and synchronization assistant
- 2-redis architecture design to use scenarios - four deployment and operation modes (Part 2)
- 关于 uintptr_t和intptr_t 类型
- be based on. NETCORE development blog project starblog - (14) realize theme switching function
- Release and visualization of related data
- Day05 表格
- Oracle database knowledge points (I)
猜你喜欢
OS interrupt mechanism and interrupt handler
1-Redis架构设计到使用场景-四种部署运行模式(上)
MPLS experiment
“疫”起坚守 保障数据中台服务“不打烊”
@EnableAsync @Async
[dynamic programming] leetcode 53: maximum subarray sum
be based on. NETCORE development blog project starblog - (14) realize theme switching function
Infiltration learning diary day19
Avoid playing with super high conversion rate in material minefields
查询效率提升10倍!3种优化方案,帮你解决MySQL深分页问题
随机推荐
查询效率提升10倍!3种优化方案,帮你解决MySQL深分页问题
删除所有值为y的元素。数组元素中的值和y的值由主函数通过键盘输入。
打印菱形图案
不得不会的Oracle数据库知识点(三)
Gauss elimination method and template code
在寻求人类智能AI的过程中,Meta将赌注押向了自监督学习
It's OK to have hands-on 8 - project construction details 3-jenkins' parametric construction
On covariance of array and wildcard of generic type
MySQL -- Introduction and use of single line functions
A little understanding of GSLB (global server load balance) technology
Software testers, how can you quickly improve your testing skills? Ten minutes to teach you
Characteristics of ginger
Introduction to thread pool
Oracle database knowledge points that cannot be learned (III)
Gee: create a new feature and set corresponding attributes
Who moved my code!
AI helps make new breakthroughs in art design plagiarism retrieval! Professor Liu Fang's team paper was employed by ACM mm, a multimedia top-level conference
The difference between fetchtype lazy and eagle in JPA
[error record] configure NDK header file path in Visual Studio
机器学习基础:用 Lasso 做特征选择