Skip to content
Begin point and Getting start of the electron using node js.
JavaScript HTML
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE
README.md
index.html
main.js
package.json
screenshot1.png
screenshot2.png

README.md

FirstElectron

Begin point and Getting start of the electron using node js.

ScreenShot

Using

$ npm install


+ electron@5.0.1
added 145 packages from 141 contributors and audited 201 packages in 34.01s
found 0 vulnerabilities

$ npm start


> FirstElectron@1.0.0 start /home/max/Projects/FirstElectron
> electron .

Fun problem

ScreenShot

Error :

[12345:0516/063318.469566:FATAL:setuid_sandbox_host.cc(157)] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that /home/max/Projects/FirstElectron/node_modules/electron/dist/chrome-sandbox is owned by root and has mode 4755.

Solved By :

[max@base FirstElectron]$ sudo sysctl kernel.unprivileged_userns_clone=1
kernel.unprivileged_userns_clone = 1

Other sample

$ git clone https://github.com/electron/electron-quick-start
$ cd electron-quick-start
$ npm install
$ npm start

License

FirstElectron is licensed under the GNU General Public License.

You can’t perform that action at this time.