Help Center/ Meeting/ Client SDK Reference/ FAQs/ [Electron] What Do I Do If the Message "electron failed to install correctly" Is Displayed When I Start the Electron Demo?
Updated on 2022-07-11 GMT+08:00

[Electron] What Do I Do If the Message "electron failed to install correctly" Is Displayed When I Start the Electron Demo?

Customer Case

A customer has integrated the Electron SDK. When the Electron SDK is started, the message "electron failed to install correctly" is displayed.

Cause Analysis

The local Node.js version does not match the installed Electron version.

Solution

Download Node.js of the version recommended by the Electron version from the official website of Node.js (for details about the mapping, see https://www.electronjs.org/docs/latest/tutorial/electron-timelines), install Node.js, and recompile and start the project.