Relative Content

Tag Archive for javascriptnode.jselectronelectron-forge

Run a backend server upon start in electron app

I have an electron app (created using electron forge) that uses Flask (python) for the backend. I’d like to start the whole application (flask and electron) from electron itself by starting a child process in main.js. Starting the flask process doesn’t work in the production build (the resulting app from npm run make), as I’m getting a Failed to load resource: net::ERR_CONNECTION_REFUSED in my console.

How can i fix Electron problem: Error: ENOTDIR, not a directory?

I’m using an electron for the first time. I ran into a problem when building the application. I do everything according to the documentation, I use electron-forge. npm run make runs without problems, but after trying to start the setup or the .exe file, such an error occurs. I sincerely do not understand what the problem is, help
I use vk and tg api, when only the part with vk was ready, everything went without problems, but after download @mtproto/coreerror’s popup window