当前位置:网站首页>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
边栏推荐
- Mobile asynchronous sending SMS verification code solution -efficiency+redis
- Technical practice online fault analysis and solutions (Part 1)
- 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,
- 中电资讯-信贷业务数字化转型如何从星空到指尖?
- From functools import reduce -- see the use of reduce function from typical examples
- 查询效率提升10倍!3种优化方案,帮你解决MySQL深分页问题
- 7.1 learning content
- 8. Go implementation of string conversion integer (ATOI) and leetcode
- 基于.NetCore开发博客项目 StarBlog - (14) 实现主题切换功能
- AI 助力艺术设计抄袭检索新突破!刘芳教授团队论文被多媒体顶级会议ACM MM录用
猜你喜欢
How to set the response description information when the response parameter in swagger is Boolean or integer
手机异步发送短信验证码解决方案-Celery+redis
技術實踐|線上故障分析及解决方法(上)
Cesiumjs 2022^ source code interpretation [8] - resource encapsulation and multithreading
1-Redis架构设计到使用场景-四种部署运行模式(上)
How to delete MySQL components using xshell7?
Some other configurations on Huawei's spanning tree
Weekly open source project recommendation plan
Infiltration learning diary day19
Windos10 reinstallation system tutorial
随机推荐
Huawei BFD and NQA
7.1 学习内容
MySQL - use of aggregate functions and group by groups
Windos10 reinstallation system tutorial
0 basic learning C language - nixie tube dynamic scanning display
What is regression testing? Talk about regression testing in the eyes of Ali Test Engineers
Oracle database knowledge points (IV)
MPLS experiment
HR disgusted interview behavior
From functional testing to automated testing, how did I successfully transform my salary to 15K +?
I don't care about you. OKR or KPI, PPT is easy for you
A little understanding of GSLB (global server load balance) technology
be based on. NETCORE development blog project starblog - (14) realize theme switching function
MySQL deadly serial question 2 -- are you familiar with MySQL index?
On covariance of array and wildcard of generic type
Characteristics of ginger
[common error] UART cannot receive data error
CesiumJS 2022^ 源码解读[8] - 资源封装与多线程
Pratique technique | analyse et solution des défaillances en ligne (Partie 1)
GUI 应用:socket 网络聊天室