Skip to content
This repository was archived by the owner on Apr 28, 2026. It is now read-only.
This repository was archived by the owner on Apr 28, 2026. It is now read-only.

I'm having issues running this project locally #1816

@XiaolinYi

Description

@XiaolinYi
─────────────────────────────────────────────────────────────────────────────────────────────────────────────── Starting Reflex App ────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Traceback (most recent call last):
  File "/envir/conda/envs/reflex_web/lib/python3.12/site-packages/reflex/utils/prerequisites.py", line 351, in compile_or_validate_app
    get_compiled_app(
  File "/envir/conda/envs/reflex_web/lib/python3.12/site-packages/reflex/utils/prerequisites.py", line 267, in get_compiled_app
    app, app_module = get_and_validate_app(
                      ^^^^^^^^^^^^^^^^^^^^^
  File "/envir/conda/envs/reflex_web/lib/python3.12/site-packages/reflex/utils/prerequisites.py", line 236, in get_and_validate_app
    app_module = get_app(reload=reload)
                 ^^^^^^^^^^^^^^^^^^^^^^
  File "/envir/conda/envs/reflex_web/lib/python3.12/site-packages/reflex/utils/prerequisites.py", line 197, in get_app
    __import__(module, fromlist=(constants.CompileVars.APP,))
  File "/data/coding/reflex/reflex-web/pcweb/pcweb.py", line 11, in <module>
    from pcweb.markdown_api import generate_markdown_files
  File "/data/coding/reflex/reflex-web/pcweb/markdown_api.py", line 7, in <module>
    from pcweb.pages.docs import doc_markdown_sources
  File "/data/coding/reflex/reflex-web/pcweb/pages/__init__.py", line 5, in <module>
    from .booked import booked as booked
  File "/data/coding/reflex/reflex-web/pcweb/pages/booked.py", line 8, in <module>
    from pcweb.pages.framework.views.footer_index import footer_index
  File "/data/coding/reflex/reflex-web/pcweb/pages/framework/views/footer_index.py", line 21, in <module>
    from pcweb.pages.faq import faq
  File "/data/coding/reflex/reflex-web/pcweb/pages/faq.py", line 6, in <module>
    from pcweb.pages.docs import hosting, wrapping_react
ImportError: cannot import name 'hosting' from 'pcweb.pages.docs' (/data/coding/reflex/reflex-web/pcweb/pages/docs/__init__.py)

I couldn't find hosting in __init__.py under pcweb.pages.docs, and there is no hosting.py file either.

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