当前位置:网站首页>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边栏推荐
- How can enterprises optimize the best cost of cloud computing?
- OS interrupt mechanism and interrupt handler
- C library function int fprintf (file *stream, const char *format,...) Send formatted output to stream
- be based on. NETCORE development blog project starblog - (14) realize theme switching function
- Unity Shader入门精要读书笔记 第三章 Unity Shader基础
- Thinkphp6 integrated JWT method and detailed explanation of generation, removal and destruction
- Network layer - routing
- Logical operator, displacement operator
- [dynamic programming] leetcode 53: maximum subarray sum
- GUI application: socket network chat room
猜你喜欢

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,

老姜的特点

MySQL deadly serial question 2 -- are you familiar with MySQL index?

A dichotomy of Valentine's Day

Sequence list and linked list
![[common error] custom IP instantiation error](/img/de/d3f90cd224274d87fcf153bb9244d7.jpg)
[common error] custom IP instantiation error

Windos10 reinstallation system tutorial

Long article review: entropy, free energy, symmetry and dynamics in the brain

It's OK to have hands-on 8 - project construction details 3-jenkins' parametric construction

Avoid playing with super high conversion rate in material minefields
随机推荐
Summary of common tools and technical points of PMP examination
Regular expression of shell script value
The first training of wechat applet
Stringutils and collectionutils
【.NET+MQTT】.NET6 环境下实现MQTT通信,以及服务端、客户端的双边消息订阅与发布的代码演示
Oracle database knowledge points (I)
Infiltration learning diary day19
Interview script of Software Test Engineer
The difference between fetchtype lazy and eagle in JPA
The culprit of unrestrained consumption -- Summary
查询效率提升10倍!3种优化方案,帮你解决MySQL深分页问题
A-Frame虚拟现实开发入门
Future源码一观-JUC系列
长文综述:大脑中的熵、自由能、对称性和动力学
Force deduction solution summary 1189- maximum number of "balloons"
1-Redis架构设计到使用场景-四种部署运行模式(上)
How to set the response description information when the response parameter in swagger is Boolean or integer
[software testing] you haven't mastered these real interview questions of big companies?
What insurance products should be bought for the elderly?
中电资讯-信贷业务数字化转型如何从星空到指尖?