tencent cloud

Low-code Interactive Classroom

Release Notes and Announcements
Announcement on the Renaming of Low-Code Interactive Classroom Product
Announcement on the Upgrade of Low-Code Interactive Classroom
Product Introduction
Overview
Use Cases
Features
Strengths
Purchase Guide
Billing Overview
Monthly Packages
Billing Examples
Purchase Instructions
Payment Overdue
Refunds
Demo Download and Experience
Client Integration Guide
Web and H5
Android
iOS
Windows and macOS
Console Guide
Overview
Usage
Applications
Quick Run-through
API Documentation
History
Introduction
API Category
Making API Requests
User Login APIs
Room Management APIs
Group Management APIs
Application Configuration APIs
Recording Management APIs
Courseware Management APIs
User Management APIs
Developer APIs
Data Types
Error Codes
Interface Customization
Getting Started
Event Listening
Service Callbacks
Advanced Features
Custom Business Domain
Mobile Screen Sharing
Mobile Preloading
Practical Tutorial
Integration with Scheduling System
Integration with Account System
Integration with Recording and Playback
Integration with Courseware Module
LCIC Policy
Privacy Policy
Data Processing And Security Agreement
FAQs
Billing
Recording
Console and API authorization issues
Interactive Whiteboard Lag
Screen Sharing
Dealing with Firewall Restrictions
Web
Electron
Device Performance Requirements
Service Agreement
Service Level Agreement

Electron

PDF
Focus Mode
Font Size
Last updated: 2023-03-24 15:29:26

Why is Electron download slow or even stuck?

When download of the dependency package starts, it may be very slow, and a timeout error of npm even occurs after I wait for a long time.


Solution A

If you work from an office in your company, you need to check whether the proxy configuration of npm points to the proxy server of your company and whether the ELECTRON_GET_USE_PROXY environment variable is configured, and if not, perform the following steps:

1. Set the npm proxy: npm config set all_proxy=[your proxy address].
2. Configure the ELECTRON_GET_USE_PROXY environment variable, so that the Electron installation script will be downloaded through the npm proxy.


Solution B

If you use macOS, run the following command:
$ export ELECTRON_GET_USE_PROXY=true

Solution C

If you use Windows:
1. Right-click PC > System Properties> Advanced > Environment Variables.
2. Set the environment variable ELECTRON_GET_USE_PROXY as shown below and run npm install or npm install --proxy=[your proxy address]:



Help and Support

Was this page helpful?

Help us improve! Rate your documentation experience in 5 mins.

Feedback