当前位置:网站首页>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边栏推荐
- Typescript basic knowledge sorting
- 不得不会的Oracle数据库知识点(四)
- Introduction to unity shader essentials reading notes Chapter III unity shader Foundation
- 关于 uintptr_t和intptr_t 类型
- Huawei rip and BFD linkage
- How to delete MySQL components using xshell7?
- Conditional test, if, case conditional test statements of shell script
- The force deduction method summarizes the single elements in the 540 ordered array
- About uintptr_ T and IntPtr_ T type
- “疫”起坚守 保障数据中台服务“不打烊”
猜你喜欢

How to set the response description information when the response parameter in swagger is Boolean or integer

中电资讯-信贷业务数字化转型如何从星空到指尖?

How to delete MySQL components using xshell7?

Future source code view -juc series

2-Redis架构设计到使用场景-四种部署运行模式(下)

MySQL - use of aggregate functions and group by groups

功能:求5行5列矩阵的主、副对角线上元素之和。注意, 两条对角线相交的元素只加一次。例如:主函数中给出的矩阵的两条对角线的和为45。

1-redis architecture design to use scenarios - four deployment and operation modes (Part 1)

Release and visualization of related data

What is the GPM scheduler for go?
随机推荐
Oracle database knowledge points (IV)
Sequence list and linked list
使用dnSpy对无源码EXE或DLL进行反编译并且修改
How to use AHAS to ensure the stability of Web services?
Leetcode 121 best time to buy and sell stock (simple)
gslb(global server load balance)技术的一点理解
Infiltration learning diary day19
Which insurance products can the elderly buy?
Typescript basic knowledge sorting
7.1 学习内容
Pytest unit test framework: simple and easy to use parameterization and multiple operation modes
GUI application: socket network chat room
机器学习基础:用 Lasso 做特征选择
基于.NetCore开发博客项目 StarBlog - (14) 实现主题切换功能
Gauss elimination method and template code
Huawei rip and BFD linkage
Who moved my code!
Oracle database knowledge points that cannot be learned (III)
0 basic learning C language - nixie tube dynamic scanning display
删除所有值为y的元素。数组元素中的值和y的值由主函数通过键盘输入。