当前位置:网站首页>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
边栏推荐
- Function: find the sum of the elements on the main and sub diagonal of the matrix with 5 rows and 5 columns. Note that the elements where the two diagonals intersect are added only once. For example,
- 关于 uintptr_t和intptr_t 类型
- 不得不会的Oracle数据库知识点(四)
- GUI 应用:socket 网络聊天室
- The first training of wechat applet
- @EnableAsync @Async
- How to be a professional software testing engineer? Listen to the byte five year old test
- 查询效率提升10倍!3种优化方案,帮你解决MySQL深分页问题
- Avoid playing with super high conversion rate in material minefields
- gslb(global server load balance)技术的一点理解
猜你喜欢
[dynamic programming] leetcode 53: maximum subarray sum
It's OK to have hands-on 8 - project construction details 3-jenkins' parametric construction
Function: write function fun to find s=1^k+2^k +3^k ++ The value of n^k, (the cumulative sum of the K power of 1 to the K power of n).
A dichotomy of Valentine's Day
[common error] UART cannot receive data error
1-redis architecture design to use scenarios - four deployment and operation modes (Part 1)
It's OK to have hands-on 8 - project construction details 3-jenkins' parametric construction
技術實踐|線上故障分析及解决方法(上)
[error record] configure NDK header file path in Visual Studio
Future source code view -juc series
随机推荐
Huawei BFD and NQA
OS interrupt mechanism and interrupt handler
It is worthy of "Alibaba internal software test interview notes" from beginning to end, all of which are essence
Stringutils and collectionutils
老姜的特点
Mobile asynchronous sending SMS verification code solution -efficiency+redis
HackTheBox-baby breaking grad
Release and visualization of related data
Meta metauniverse female safety problems occur frequently, how to solve the relevant problems in the metauniverse?
The difference between fetchtype lazy and eagle in JPA
1-redis architecture design to use scenarios - four deployment and operation modes (Part 1)
How to set the response description information when the response parameter in swagger is Boolean or integer
在寻求人类智能AI的过程中,Meta将赌注押向了自监督学习
Logical operator, displacement operator
be based on. NETCORE development blog project starblog - (14) realize theme switching function
Query efficiency increased by 10 times! Three optimization schemes to help you solve the deep paging problem of MySQL
删除所有值为y的元素。数组元素中的值和y的值由主函数通过键盘输入。
A dichotomy of Valentine's Day
功能:求5行5列矩阵的主、副对角线上元素之和。注意, 两条对角线相交的元素只加一次。例如:主函数中给出的矩阵的两条对角线的和为45。
Avoid playing with super high conversion rate in material minefields