62 questions
0
votes
0
answers
49
views
Can't debug electron react boilerplate with Visual Studio Code on Windows
I'm starting a new Electron project using electron-react-boilerplate, but the debug of main process not working! I can debug correctly the render, all the debugger features are working, but for the ...
0
votes
2
answers
267
views
Load locally saved files to tonejs
I am trying to create an app with the electron-react boilerplate where i can create audio files.
I found Tone.js, which allows me to play sounds but loading the sample files seems close to impossible. ...
0
votes
0
answers
60
views
webpack-dev-server electronjs with reactjs configuraction
I have a problem with electronjs app with reactjs using webpack-dev-server.
I trying to
npm start
that setup and in console application is starting succesfuly but application window does not showing ...
1
vote
0
answers
63
views
Electron built app package has empty style.css
I am using electron-react-boilerplate with tailwind and my config.renderer.prod.ts looks like this:
import path from 'path';
import webpack from 'webpack';
import HtmlWebpackPlugin from 'html-webpack-...
1
vote
0
answers
84
views
Changing "name" in package.json crashes React DevTools (problem arises in cross-unzip)
I'm quite new to React and electron, so I decided to learn it by creating a simple app. For this purpose I decided to use this boilerplate:
https://github.com/alexdevero/electron-react-webpack-...
-1
votes
1
answer
349
views
load react route in another electron window
I am using hashrouter with electron-react-boilerplate. I noticed that the new window browser started showing white screen, thus, can't find any url to load after the app is packaged.
My route is ...
1
vote
1
answer
951
views
Node-pty and ElectronJS
I am trying to use node-pty from within an ElectronJS app, but I'm struggling to get it to work.
I am using Electron React Boilerplate as the base for my project.
Repro of the issue:
git clone --depth ...
0
votes
0
answers
23
views
Type '({ note, onBlockClick }: NoteProps) => void' is not assignable to type 'FC<NoteProps>'. Type 'void' is not assignable to type 'ReactNode'.ts
i am building a component to render a data object to my main page in react typescript. while implementing a functionality change, i received error in my code editor.
Type '({ note, onBlockClick }: ...
1
vote
0
answers
375
views
How to open new route with MemoryRouter in Electron?
I'm using Electron-React-Boilerplate to developing my app and I'm new to both Electron and React.
The boilerplate uses ReactRouter package to handle the route of the app, and I want to create a new ...
0
votes
0
answers
80
views
Unable to create working executable of electron-react app
I am trying to create a music player application using electron Electron react boilerplate.
In the development mode everything works fine, the routing was a bit messed up but by using useLocation to ...
1
vote
0
answers
74
views
Tone js giving errors while trying to play a file on pc in main process of electron-react app
I want to play audio files (mp3/wav) in my electron app, Right now I am using react as ui and sending ipcEvents back and forth between main process and renderer to try to play the audio file. I am ...
0
votes
0
answers
325
views
All elements in Electron app are scaled down in dev environment but appear normal in production build
I've been having this issue across all of my Electron apps where my development environment seems to scale down all elements in my application by some factor. Things appear completely normal when I ...
1
vote
0
answers
29
views
Electron contents.undo() when the button is clicked?
I'm using electron-react-boilerplate, how to undo when button is clicked with contents.undo() ?
0
votes
1
answer
142
views
Error running Electron child_process.execFile with Python executable wrapped with PyInstaller and rembg library
I am encountering an issue when trying to run an Electron application that utilizes child_process.execFile to execute a Python script. The Python script is wrapped into an executable file using ...
2
votes
0
answers
756
views
strugelling with building a bundle app using electron-react-vite with loadFiles not webserver
I am trying to learn something new here. I am working on client app which uses Electron + react.
I used this github repo to start my project https://github.com/electron-vite/electron-vite-react
And ...