Skip to main content

Questions tagged [electron]

Electron (formerly Atom Shell) is a framework created by GitHub that lets you write cross-platform desktop applications using HTML, CSS and JavaScript. Electron is based upon Node.js and Chromium.

1 vote
1 answer
8k views

Uncaught Error: process.binding is not supported (when developing in React, fluxible and electron)

I was using React & fluxible & electron to work on on the app flows and it follows the standard react flow, i.e, component -> action -> store -> component click on some React ...
Shih-Min Lee's user avatar
  • 9,570
1 vote
2 answers
512 views

Grouping child processes in node-webkit or atom/electron

I am doing some research into building a cross-platform desktop application using web technologies. Both node-webkit and electron/atom would be perfect for the job. However, with it being a multi-...
StickyCube's user avatar
  • 1,721
0 votes
2 answers
1k views

How do I use Dojo Toolkit in an Electron application?

I'm exploring Electron and I've run into a roadblock. I can't figure out how to load the Dojo Toolkit and use it in Electron. For example, here is the simple "Hello World" for Dojo: <!DOCTYPE ...
WaltPurvis's user avatar
  • 1,510
1 vote
1 answer
278 views

Run/Install ruby gem from io.js with child_process

AIM: Create a desktop app(GUI) with Electron(Atom Shell), that runs a gem's commands from io.js. 1. The problem is that I want to know which is the best way to handle the commands call to the gem ...
rpasianotto's user avatar
  • 1,403
10 votes
2 answers
8k views

Best way to read from a big CSV file without loading everything to memory using Javascript

I'm using Atom/Electron for building an app that has visualisations over video based on data. Each video has a corresponding CSV file with information for each frame. The videos are about 100 minutes, ...
limoragni's user avatar
  • 2,736
1 vote
1 answer
10k views

How to pass the data from one js file to another react.js file

I want to pass the data from one js file to another js file here is my code:(react.js) <script type="text/jsx"> /** @jsx React.DOM */ var APP= React.createClass({ getInitialState:function(){...
Vamsi Perivilli's user avatar
3 votes
1 answer
2k views

Electron (atom shell) window getting closed on its own after some time

Just a plain Hello World application using electron-prebuilt is set up. I run it by npm start command. Window shows up as expected normally. However it is getting closed on it's own after some time. ...
Matical's user avatar
  • 454
3 votes
4 answers
5k views

ERROR: when installing electron?

When i am installing Electron using npm install electron-prebuilt --save-dev, I am getting the following error: Error: end of central directory record signature not found at C:\Users\madhava\...
Hussian Shaik's user avatar
22 votes
2 answers
41k views

How to pass command line argument in electron

I just started using electron. I have a doubt about how to pass command line arguments in electron when I'm using npm start to run electron. In Node.js I am using: node server.js one two=three four ...
Hussian Shaik's user avatar
15 votes
3 answers
21k views

Error messages and console logs in Electron?

How do you view error messages and console logs in Electron during development? Also, is it possible for the logs to be written directly into a file? Edit: Kind of like the errors and console logs ...
Oztaco's user avatar
  • 3,419
2 votes
1 answer
6k views

How to watch files in Electron App?

I want to use Chokidar to watch files in my app. The problem is that electron throws an error whenever you try to instantiate chokidar.watch. I was wondering if this is a known compatibility issue ...
CodeManiak's user avatar
  • 1,933
3 votes
1 answer
3k views

Execute createShortcut in a Squirrel event, in an Electron app

I'm trying to create shortcuts for my Electron app when I install it or update it, however I am having some trouble executing the command that is meant to create the shortcut. By default Electron ...
teimaj's user avatar
  • 324
6 votes
2 answers
16k views

How to use the <webview> methods in Electron

On the Electron <webview> documentation there is a list of methods that you can use with the object. When I try to run any of the methods, none of them work. When I looked in inpect the ...
Sam Eaton's user avatar
  • 1,825
5 votes
1 answer
2k views

Context menu click/open event with Atom Shell/Electron?

I'm trying to capture the click even on a tray icon click with a context menu on OSX, but according to the docs this is disabled in OSX for some reason: Platform limitations: On OS X clicked event ...
Samsquanch's user avatar
  • 9,106
0 votes
1 answer
408 views

Electron default app doesn't change

I am trying to convert my Google Closure Library used web app to Electron. I've used grunt-electron to package the application but it seems it doesn't change the default app of the Test.app. In Test....
Yagiz's user avatar
  • 1,033

15 30 50 per page