Skip to main content
The 2026 Annual Developer Survey is live— take the Survey today!
355 votes
21 answers
170k views

Problem: while developing using Electron, when you try to use any JS plugin that requires jQuery, the plugin doesn't find jQuery, even if you load in the correct path using script tags. For example, ...
263 votes
21 answers
277k views

How do I remove this menu-bar from my electron apps: Also it says "Hello World"(is this because I downloaded electron pre-built, and will go away once I package the application?). I didn't code these ...
263 votes
2 answers
377k views

I have packed my Electron application using the following command: asar pack app app.asar Now, I need to unpack it and get the whole code back. Is there any way to do so?
252 votes
11 answers
256k views

I'm creating an Electron app for my own purpose. My problem is when I'm using node functions inside my HTML page it throws an error of: 'require()' is not defined. Is there any way to use Node ...
227 votes
18 answers
248k views

How do you set the app icon for your Electron app? I am trying BrowserWindow({icon:'path/to/image.png'}); but it does not work. Do I need to pack the app to see the effect?
209 votes
1 answer
82k views

What underlying technologies/libraries is Microsoft's new (free) cross platform editor Visual Studio Code (Launched 5/29/2015) built on? There are rumors that it's just Github's Atom Editor rebranded....
179 votes
26 answers
423k views

I am creating a simple form to upload file using electron-react-boilerplate with redux form & material ui. The problem is that I do not know how to create input file field because material ui ...
171 votes
18 answers
190k views

How can I log data or messages to the console in my Electron app? This really basic hello world opens the dev tools by default, by I am unable to use console.log('hi'). Is there an alternative for ...
154 votes
5 answers
30k views

Now that TideSDK is effectively dead, I've been looking into alternative 'wrappers' to run HTML/CSS/JS applications as stand-alone desktop applications. The three viable options I have run across so ...
149 votes
5 answers
67k views

What is main difference between electron-builder and electron-packager. Is there some example projects for both? Which is better for standalone .exe application build?
145 votes
7 answers
214k views

I'm working on a project with Typescript, React and Redux (all running in Electron), and I've run into a problem when I'm including one class based component in another and trying to pass parameters ...
113 votes
10 answers
136k views

I want to develop desktop app using electron that uses sqlite3 package installed via npm with the command npm install --save sqlite3 but it gives the following error in electron browser console ...
108 votes
25 answers
488k views

I can see in this file (https://github.com/ReactTraining/react-router/blob/v0.13.3/modules/createRouter.js) that there is a refresh function but I have no idea how to call it. I'm fairly new to react-...
107 votes
6 answers
116k views

I'm trying to use Node modules (in this example, fs) in my renderer processes, like this: // main_window.js const fs = require('fs') function action() { console.log(fs) } Note: The action ...
103 votes
7 answers
111k views

I've got an electron app, below is the main.js file: var app = require('electron').app; var BrowserWindow = require('electron').BrowserWindow; app.on('ready', function() { mainWindow = new ...
user avatar

15 30 50 per page
1
2 3 4 5
1019