Closed pham-tuyen closed 1 year ago
Eel version 0.14.0
Describe the bug I run my main.py and I saw this bug:
main.py
Code main.py
eel.init('src') eel.start('index.html', mode='electron')
main.js
function createWindow () { const mainWindow = new BrowserWindow({ autoHideMenuBar: true }) mainWindow.loadURL('http://localhost:8000/index.html) mainWindow.maximize() } app.whenReady().then(() => { createWindow() app.on('activate', function () { if (BrowserWindow.getAllWindows().length === 0) createWindow() }) }) app.on('window-all-closed', function () { if (process.platform !== 'darwin') app.quit() })
Reproduce py main.py
py main.py
Desktop (please complete the following information):
OK, I found that because I haven't installed Electron globally yet.
Eel version 0.14.0
Describe the bug I run my![image](https://user-images.githubusercontent.com/78680118/185734428-5c709ff4-3e5a-4338-a3bb-3e6f09f2e149.png)
main.py
and I saw this bug:Code
main.py
main.js
Reproduce
py main.py
Desktop (please complete the following information):