All Questions
247
questions
-1
votes
0
answers
19
views
How to get the device ID and device type in Electron.js with React.js and TypeScript?
I am working on an Electron.js application that uses React.js and TypeScript. I need to obtain the device ID and device type within my application. Here is a brief overview of my setup and what I've ...
0
votes
0
answers
13
views
Electron Forge resolving path to node module using absolute path rather than using relative path
I'm trying to create an app that include the get-windows npm package, but I cannot distribute my app because Electron Forge is using resolving the package to an absolute path rather than a relative ...
2
votes
1
answer
490
views
electron-store returns "Property 'set' / 'get' does not exist on type"
I'm using electron-store for a demo electron project. In my main.ts process, I'm attempting to initialize the store and retrieve a simple settings object. It looks like this:
// main.ts
import Store, {...
0
votes
0
answers
30
views
Preserve specific files from auto-update using electron-builder
I have an Electron application where I saved information into a JSON file. But this is unique for every user and I am not able to store it online. I want to preserve this file when I am deploying a ...
0
votes
0
answers
26
views
ThreeJS Directional Light not working on Electron build
I am currently developing our Typescript application into an Electron application using electron-builder. This part of the application is the display of a 3D model separated into different meshes with ...
0
votes
1
answer
28
views
Electron Load Lag in Renderer
I am currently building an electron typescript react app. It is a sort of account manager, which can retreive data for the specific accounts and display the data to the user.
My Problem is, that the ...
0
votes
0
answers
67
views
White screen in electron when using react-chartjs-2
I have this typical chart implementation of react-chartjs-2. Why is this not working in electron generated using Vite and with react with TypeScript (.tsx) as the front-end? The problem: I can't see ...
0
votes
0
answers
155
views
How to set ELECTRON_MIRROR in yarn4
An error occurred when I used yarn4 to install Electron in the project. The specific error is as follows:
PS D:\code\ali-live-tools> yarn
➤ YN0000: · Yarn 4.0.2
➤ YN0000: ┌ Resolution step
➤ YN0000:...
0
votes
0
answers
35
views
Is it possible to make a dialog float above BrowserView in Electron?
So I'm trying to develop a browser with Electron, and I've made the tabs and address bar, but I'm having a problem when developing the downloading feature.
My expectation is to show a dialog after ...
1
vote
1
answer
168
views
Electron Squirrel Auto Updater The remote server returned an error: (308) Permanent Redirect
I was trying to make an auto-updater for my electron app and used Hazel as the update server, but when I tried this and tested it, following every step on the electron guide, It would always give me ...
0
votes
1
answer
36
views
In nodejs/sqlite3, run's first callback parameter return the class instance, how can i fix it?
I've got the following class in TypeScript:
class Log
{
public id: number;
public text: string;
construct(text: string){
this.text = text;
}
save(){
db.run(
...
1
vote
0
answers
45
views
TypeScript - Property does not exist on type "window" [duplicate]
I am newer to TypeScript and using it on an electron project. I am pre-loading some packages in preload.js, which gets brought into the main.js file in the electron folder. The preload file is as ...
0
votes
1
answer
250
views
packaging an electron App results in an empty UI
I am a beginner with electron. I am trying to get an .exe file of the electron app. I started with creating a react app with npx create-react-app my-app --template typescript. I then installed the ...
0
votes
1
answer
854
views
Failed to load resource: net::ERR_FILE_NOT_FOUND while running electron App
I have an app written in typescript. I create a build running npm run build. A folder dist is generated where different sources are saved:
I get Automatically the following script index.html with the ...
0
votes
0
answers
262
views
Compiled with problems: × ERROR Module not found: Error: Can't resolve
I have a Typescript project that I'm trying to get packaged into Electron via Webpack.
When I do npm run start I get the following errors:
Compiled with problems:
×
ERROR
Module not found: Error: Can'...