Questions tagged [electron-react-boilerplate]
63 questions
0
votes
1 answer
Pass data from electron project to iframe
I have an electron app and inside that app I have an iframe which calls a url that runs a different react project. So I am able to send data from react project to electron project by using;
declare global {
interface Window {
api? : any
…

Halil Acikgoz
- 11
- 6
0
votes
1 answer
Module not found: Can't resolve 'child_process' while using Electron React Boilerplate
I am trying to use electron react boilerplate to make a desktop application. However, whenever I try to use python-shell, I get "Module not found: Can't resolve 'child_process'" in my directory. How can I fix this, or is it even possible to use…
0
votes
1 answer
Vscode cant find function defined in contextBridge.exposeInMainWorld
I just started modifying the electron-react-boilerplate project and tried doing the following:
In the App.tsx file I added a button:
const ping = () => {
electron.ipcRenderer.myAwesomePing('Hello world!');
};
const Hello = () => {
return (
…

Florian Baierl
- 2,378
- 3
- 25
- 50
0
votes
1 answer
Unable to serially execute ```execFile()``` with ```ffmpeg-static-electron``` binary Electron
I'm trying to split a number of .mp4 videos into .jpg images.
The set up is using electron-react-app. I have used a preload script to enable access to limited functions with the React components.
Problem: Unable to serially execute the call to…

Radespy
- 336
- 2
- 11
0
votes
2 answers
Electron-React-Boilerplate 4.0: Property 'electron' does not exist on type 'Window & typeof globalThis'. Did you mean 'Electron'?
I am trying to call the IPCrenderer through the built-in context bridge and receive the following error:
Property 'electron' does not exist on type 'Window & typeof globalThis'. Did you mean 'Electron'?
I have added tailwind CSS but can not imagine…
0
votes
0 answers
read ip from json file electron react
I need to read from a json file saved in C:/ the ip address of the API server inside an electron-react app build for prod. This for don't build again the project for production when the ip changes.
Im using axios instance to make the calls to the…

GbRuiz
- 1
- 2
0
votes
1 answer
dotenv-webpack and terser: error from Terser Invalid assignment
I'm working on an electron application. I've added the dotenv-webpack plugin in webpack config, but when I try to build it, I receive an error from Terser. Furthermore, if I comment on the TerserPlugin config, the error still appears.
Error from…

Dmitry Y
- 1
- 5
0
votes
1 answer
Can't publish the electron app from github
I just created my electron-react application and also I implemented the auto-update functionality. But unexpectedly I got some weird error logs from electron-builder.
I'm not sure how to resolve it. I tried different kinds of ways. I hope this…

Mohamed Jakkariya
- 1,257
- 1
- 13
- 16
0
votes
1 answer
Hash routing in production throwing file not found error
I am using the electron-react-boilerplate and want to open a component in a new BrowserWindow. There are multiple questions and answers on how to do this, but none of them are working after packaging the app.
Questions / Answers I've Found:
How to…

Tristan
- 1,608
- 1
- 20
- 34
0
votes
1 answer
React + Electron: components from deps aren't laying out properly
I'm trying to use components from dependencies in a project mostly freshly forked from electron-react-boilerplate. The layout is messed up (see pic below). Tried react-chat-window, react-chat-widget, and react-datepicker, so it's across the board.…

sudo
- 5,604
- 5
- 40
- 78
0
votes
1 answer
Trying Electron-React Boiler Plate Use @react-pdf/renderer to display PDF Component with PDFViewer Setup
Has anyone set up electron to pass the PDFViewer component that is then displayed to the DOM from React? I am able to display an empty box because the blob file and html aren't passed to the DOM like it does in a simple React app. The blob file is…
0
votes
1 answer
Can't make rounded corners
I'm using Electron React Boilerplate and i'm trying to make beautiful rounded corners but instead i'm getting white square corners. Do someone know any solution?
This is what my app corners looks like
This is my BrowserWindow code:
mainWindow = new…

andrrms
- 1
- 1
0
votes
1 answer
Can @emotion/core @emotion/styled emotion-theming be used with electron?
I'm trying to integrate emotion into my electron app but having some troubles and can't seem to find any talk of it. The boilerplate I'm using is electron-react-boilerplate. Everything seems to be working during the development build, but as soon as…
0
votes
1 answer
Unable to configure less-loader with Electron React Boilerplate
I am using Ant Design with Electron React Boilerplate and need to load less file as global styles to customize its theme colors as mentioned here. I have configured less-loader in webpack.config.renderer.dev.babel.js and…

Adam Ch.
- 163
- 1
- 13
0
votes
1 answer
Can't fix the Electron React Boilerplate package error
I'm using the electron-react-boilerplate to create a desktop application. And I'm using yarn package manager.
I was compiling this application before 4 months. But now it can't be compiled.
When I write yarn package command, it show this error:
yarn…

sundowatch
- 3,012
- 3
- 38
- 66