当前位置:网站首页>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-devUse this command to install unsuccessfully

npm install --save-dev electronUsing this command seems to install , But the waiting time is too long . And gave up. .
Finally using
npm install --arch=ia32 --platform=win32 electronIt 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边栏推荐
- The culprit of unrestrained consumption -- Summary
- AI 助力艺术设计抄袭检索新突破!刘芳教授团队论文被多媒体顶级会议ACM MM录用
- Windos10 reinstallation system tutorial
- Oracle database knowledge points that cannot be learned (III)
- Gee: create a new feature and set corresponding attributes
- MPLS experiment
- Future源码一观-JUC系列
- [dynamic programming] leetcode 53: maximum subarray sum
- 功能:编写函数fun求s=1^k+2^k +3^k + ......+N^k的值, (1的K次方到N的K次方的累加和)。
- How to set the response description information when the response parameter in swagger is Boolean or integer
猜你喜欢

基于.NetCore开发博客项目 StarBlog - (14) 实现主题切换功能

Network layer - routing

GUI 应用:socket 网络聊天室

功能:编写函数fun求s=1^k+2^k +3^k + ......+N^k的值, (1的K次方到N的K次方的累加和)。

The FISCO bcos console calls the contract and reports an error does not exist

Huawei rip and BFD linkage

Interview script of Software Test Engineer

Future源码一观-JUC系列

查询效率提升10倍!3种优化方案,帮你解决MySQL深分页问题

How to set the response description information when the response parameter in swagger is Boolean or integer
随机推荐
Force deduction solution summary 1189- maximum number of "balloons"
Stringutils and collectionutils
The difference between fetchtype lazy and eagle in JPA
I don't care about you. OKR or KPI, PPT is easy for you
Gee: create a new feature and set corresponding attributes
Software testers, how can you quickly improve your testing skills? Ten minutes to teach you
Windos10 reinstallation system tutorial
1-redis architecture design to use scenarios - four deployment and operation modes (Part 1)
Regular expression of shell script value
Query efficiency increased by 10 times! Three optimization schemes to help you solve the deep paging problem of MySQL
Hash table, string hash (special KMP)
不得不会的Oracle数据库知识点(一)
Future源码一观-JUC系列
不得不会的Oracle数据库知识点(三)
Day05 表格
Logical operator, displacement operator
[dynamic programming] leetcode 53: maximum subarray sum
Summary of common tools and technical points of PMP examination
How to set the response description information when the response parameter in swagger is Boolean or integer
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).