Eel version
Please state the version of Eel you're using.
0.16.0
Describe the bug
A clear and concise description of what the bug is.
AttributeError: module 'eel' has no attribute 'getEmailsPortal'
eel.expose(getEmailsPortal)
function getEmailsPortal(){
getEmails()
}
Works fine in debug mode with this config:
eel.init('client/src/api', allowed_extensions=['.ts'])
eel_kwargs = dict(
host='localhost',
port=8899,
)
eel.start({'port': 3000}, geometry={'size': (1280, 800), 'position': (50, 50)}, **eel_kwargs)
To Reproduce
Steps to reproduce the behavior:
Go to '...'
Click on '....'
Scroll down to '....'
See error
npm run build on application and package with pyinstaller
Expected behavior
A clear and concise description of what you expected to happen.
Ability to run javascript function from python in production like how it works in debug.
System Information
OS: [e.g. Windows 10 x64, Linux Ubuntu, macOS 12]
MacOS Sonoma 14
Eel version Please state the version of Eel you're using. 0.16.0
Describe the bug A clear and concise description of what the bug is.
AttributeError: module 'eel' has no attribute 'getEmailsPortal' eel.expose(getEmailsPortal) function getEmailsPortal(){ getEmails() } Works fine in debug mode with this config: eel.init('client/src/api', allowed_extensions=['.ts']) eel_kwargs = dict( host='localhost', port=8899, ) eel.start({'port': 3000}, geometry={'size': (1280, 800), 'position': (50, 50)}, **eel_kwargs)
To Reproduce Steps to reproduce the behavior:
npm run build on application and package with pyinstaller
Expected behavior A clear and concise description of what you expected to happen.
Ability to run javascript function from python in production like how it works in debug.
System Information
Screenshots If applicable, add screenshots to help explain your problem.
Additional context Add any other context about the problem here.