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.
electron
15,474
questions
0
votes
0
answers
14
views
node native c++ code in electron unexpected character
This is my folder structure:
└── my-electron-project/
├── lib/
│ └── addon/
│ ├── build/
│ │ └── Release/
│ │ └── addon.node
│ ├── addon.cc
│ ├── binding.gyp
│ ...
0
votes
0
answers
11
views
pathMapping in vs code debug is not working
I have the following as my launch.json file
{
"version": "0.2.0",
"configurations": [
{
"name":"Launch vite:dev",
"request&...
0
votes
0
answers
49
views
net::ERR_CONNECTION_RESET when trying to fetch/getting data from localhost http server
I got a http server in C++ running on my localhost to get some data transfered to my electron react frontend. Unfortunately I run into heavy issues and I tried googling all day & night. It uses ...
0
votes
0
answers
10
views
ssh2-sftp-client Module not found: Error: Can't resolve 'xxxx' in
I am trying to import and use the ssh2-sftp-client package for my React/Electron project, but any time I add the import to a file, I get a massive wall of module errors. They are all either
"Can'...
-1
votes
0
answers
16
views
How to Package and Distribute an Electron App for Use on Another Computer? [closed]
i'm very new to development (i started learning 4 months ago) and i took the challenge to make a simple desktop app using VSCode and electron for my internship's supervisor, it basically helps him to ...
0
votes
0
answers
17
views
Desktop application with file manipulation [closed]
So I want to create a desktop app that is run locally. It doesn't need to use internet. But it does need to read, write and create some excel files. Now I wrote the app in react.
And I did some ...
-4
votes
0
answers
44
views
Bug in finding image in electron with sqlite [closed]
So, my problem is that my app can't find my image, and on my sqlite database there's just a txt file that says undefined:
This function goes immidietely after entering the app
ipcMain.on('load-...
0
votes
0
answers
22
views
Backend Port Remains Open When Electron App Exits
I'm doing an electron app, but every time I close or quit the app it leaves a pid hanging from the port that the backend opens. How could I kill all the process when I close the app?
This is the ...
0
votes
2
answers
52
views
How do I gray elements based on class name?
I'm trying to grey the border elements smoothly with css smoothing and it does nothing and the elements are 1 pixel thick
code:
function greyBorder()
{
var elms
...
0
votes
0
answers
7
views
Icons of Element UI do not appear
I'm using Element UI with an Electron - Vue 2.6 - Vite - SCSS app, and the icons (like ) do not appear. All the other Element UI components work just fine.
I have followed the instructions on https://...
1
vote
0
answers
13
views
Executable/installable files with electron FE and python BE
I have a problem with my current project.
I have a backend written in python which i complain with pyinstaller to an exe.
The py BE communicate with websockets with the FE written in JS/hmtl/css.
I ...
0
votes
0
answers
12
views
How to Resolve "LNK1107: invalid or corrupt file" Error When Linking MuPDF C library with Node.js Addon?
I've built MuPDF
with the Dynamic Libr
ary(.dll) configuration and can see libmupdf.dll and libmupdf.exp files in ....mupdf/platform/win32/x64/Release/
//binding.gyp :-
{
"targets": [
...
0
votes
0
answers
11
views
Electron-builder tries to download old blockmap from latest pipeline
I am trying t configure Electron-builder autoUpdater to work with gitlab. The autoUpdater detects a new version (1.1.0 --> 1.1.1). Afterwards, it tries to download the blockmap from 1.1.0 from the ...
0
votes
0
answers
11
views
How to keep Electronjs app alive after hide to the tray on Windows
I wrote a Pomodoro app use Electronjs used function setInterval() to count down from 25:00 to 00:00. When user click minimize or close, the app hide to the tray. But then, sometimes it's stopped (may ...
0
votes
0
answers
23
views
Creating a Logger for the electron application [closed]
I want to create a logger to handle all the logs inside the application. To offload logger tasks such as writing logs to the file, rotating the log files, and sending logs to different monitoring ...