HOW TO DEPLOY LATEST ELECTRON FRAMEWORK ON WINDOWS 7

HOW TO DEPLOY LATEST ELECTRON FRAMEWORK ON WINDOWS 7

Supporting Windows 7 almost every day for numerous years i have to admit that
operating system is getting harder and harder to support, but
it is definitely possible and we still don’t have the right to consider it as an obsolete environment.

To install latest Electron framework:

npm install electron --save-dev

If you work in a corporate environment with tightened security, such as a government structure or banking institution,
you will almost certainly end up with this error:

RequestError: self-signed certificate in certificate chain

Here is a solution to solve such a problem without involving bureaucratic procedures and summoning constantly busy system administrators.
Remember that it’s not quite safe for security, but what if we need to do the job and do not have time to fight bureaucratic structures.
Suppose you already have Git and Node.js installed, and you have administrative privileges.

Run the following commands from the project directory in the Git console:

git config --global http.sslVerify false
npm set strict-ssl false
NODE_TLS_REJECT_UNAUTHORIZED=0 npm install electron --save-dev

Take a note that Node.JS 18 LTS will be supported right [until May 2025] .
And of course we have a backup solution of the even more modern hacked [NodeJS v23] ||| [MSI] .