Skip to content

Replit Deployment Guide is not working anymore #1240

@TheM0zart

Description

@TheM0zart

Description

I followed the Replit deployment guide but it didn't work out.

Code example to reproduce the issue:

https://flet.dev/docs/guides/python/deploying-web-app/hosting-providers/replit

Describe the results you received:

When I finally try to run the application the console it gives me the following error message:

Traceback (most recent call last):
  File "main.py", line 1, in <module>
    import flet as ft
  File "/home/runner/TestFlet/venv/lib/python3.10/site-packages/flet/__init__.py", line 1, in <module>
    from flet.flet import FLET_APP, FLET_APP_HIDDEN, WEB_BROWSER, app, app_async
  File "/home/runner/TestFlet/venv/lib/python3.10/site-packages/flet/flet.py", line 4, in <module>
    import flet_js
ModuleNotFoundError: No module named 'flet_js'

Describe the results you expected:

The website should run without errors.

Additional information you deem important (e.g. issue happens only occasionally):

Flet version (pip show flet):

Version 0.4.2

Operating system:

Windows 10 / Chrome

Additional environment details:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions