everytime i run this python file, it makes the electron window but gives me the following error:
(node:35720) electron: Failed to load URL: http://localhost:5173/ with error: ERR_CONNECTION_REFUSED
(Use `electron --trace-warnings ...` to show where the warning was created)
To Reproduce
Steps to reproduce the behavior:
Create an Electron Forge project
Add the following code in a file named main.py
run main.py
error happens after a couple of second of the window being open
Expected behavior
I Expected the electron window to also have the contents of my app, which i wrote in vite. it did not infact do this.
System Information
OS:Windows 11 x64
Browser: Chrome
Python Distribution: Python 3.11.4
Screenshots
Additional context
Add any other context about the problem here.
Eel version 0.16.0 (also present in 0.17.0 after testing)
Describe the bug I added a python file named
main.py
to my electron project. here is the contents of it:everytime i run this python file, it makes the electron window but gives me the following error:
To Reproduce Steps to reproduce the behavior:
main.py
main.py
Expected behavior I Expected the electron window to also have the contents of my app, which i wrote in vite. it did not infact do this.
System Information
Screenshots![image](https://github.com/user-attachments/assets/6a203d0c-4349-4ff9-852e-666d62fc841f)
Additional context Add any other context about the problem here.