Skip to main content

All Questions

0 votes
1 answer
48 views

How to keep secure code of Electron when someone extract asar?

I am building an offline electron js react js and express js application. but the issue is when I build the app and extract the asar file all the code gets exposed including express js. How can I ...
Swapnil Mane's user avatar
1 vote
0 answers
136 views

Electron app can't run my function correctly, (node:2792) electron: Failed to load URL: file:///C:/process-document with error: ERR_FILE_NOT_FOUND

I made a little app that would take in a docx template using docxtemplater and have the user input their data on an HTML page, then apply the data on the docx file and output a finished document. This ...
Mahmoud Othmane's user avatar
0 votes
0 answers
99 views

electron-builder always show blank page html but after i reload the app with "win + r" button the actuall page show

when i build my app using electron-builder, the built success. but there is a problem. After i install the .exe file, the app running, but only shows blank page, i checked the devtools, it's just the ...
fey_23's user avatar
  • 41
0 votes
0 answers
40 views

I get a CORS Error for uploads above ~30mb, works for everything else

I am writing an electron app, The frontend breaks an upload into chunks and sends them to my backend. A separate project is running my backend (Express). When I point my express app to the local ...
Tochi Bedford's user avatar
1 vote
0 answers
36 views

Python sending GET request to express server in electron main.js process error

I am using the electron framework with a few helper python files. I am running into this error where it seems like I'm unable to start an express server in the main.js process for some reason. Here is ...
Justin Ridenour's user avatar
0 votes
1 answer
526 views

How to get a TypeScript project to run as a child process in a JavaScript project?

I have an electron app which is mainly all in javascript, I also have an express server project which is written in typescript, if I try to make a child process of this typescript project in my ...
Ryuqaza's user avatar
  • 47
0 votes
1 answer
219 views

How to read JSON in electron when sending script from express server

How can I read JSON that's in my local electron files in a script that's sent by express server. I want to send my local JSON to my express server because I have local data that I need on a server. I'...
Lotar 122's user avatar
0 votes
0 answers
61 views

Downloading Files from an Electron app fails

I created an Electron app which generates an Excel file and I want to send it to the client. The file is generated properly and the dialog is shown to the client, but the file is not saved on the ...
sd_19x4's user avatar
  • 27
1 vote
0 answers
195 views

ElectronJS: Change CSS style via Javascript and save it

How can I please change the background color of a desktop application using JavaScript so that the settings are saved after the program is closed? I am using ElectronJS and since it is a desktop ...
mrnavrc's user avatar
  • 13
0 votes
0 answers
22 views

require() in user's default browser from electron

I'm trying to make an electron app that has a discord authorization. The prompt for the auth is from the user's default browser so user can easily just press authorize rather than logging in from the ...
Hex's user avatar
  • 1
0 votes
1 answer
1k views

clickable transparent window in electron

I am trying to make a transparent window in Electron. So far, I'm able to solve and find the solutions to every problem except for this one. I'm trying to make a transparent full-size browser window ...
danish2694's user avatar
1 vote
1 answer
219 views

How to open nodejs app from browser link or prompt

I have created a desktop app using react, nodejs, express and electron. What I want to add next is, to open it from a browser( like when we click on zoom or ms-teams link it prompts us to open a pre-...
user avatar
1 vote
1 answer
631 views

Express Electron Cannot Require Local Js Files

Before marking as duplicate, I've searched a lot and I couldn't find the answer I need. I have some issues using express and electron. Everything works fine when I run npm start (start script in ...
Farhad Rad's user avatar
7 votes
2 answers
8k views

How can I use Google sign-in inside of an Electron desktop application?

I'm using Node.js and Express to make a simple app. It relies heavily on Google sign-in for profile pictures and nicknames, and when testing it in a new Electron app I got thrown the error - " ...
benman's user avatar
  • 187
1 vote
0 answers
37 views

Not able to receive socket data sent from client 1 to server and back to client 2

I'm having some trouble using sockets to connect an electron app to an node(express) website hosted on heroku. Basically I have 2 clients, for simplicity I'm going to call them teacher and student. So ...
rishi's user avatar
  • 841

15 30 50 per page