You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
RuntimeError: reflex-web cannot be built on Windows due to EMFILE error. To build a subset of pages for testing, set environment variable REFLEX_WEB_WINDOWS_OVERRIDE.
#768
Open
gavinchris37 opened this issue
Jun 19, 2024
· 0 comments
(.venv) D:\Gavz Projects\Python\Reflex\reflex-web>reflex run
Warning: Windows Subsystem for Linux (WSL) is recommended for improving initial install times.
──────────────────────────────────────────────────────────────────────────────────────────────────────── Starting Reflex App ─────────────────────────────────────────────────────────────────────────────────────────────────────────
Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in run_code
File "D:\Gavz Projects\Python\Reflex\hyinsta.venv\Scripts\reflex.exe_main.py", line 7, in
File "D:\Gavz Projects\Python\Reflex\hyinsta.venv\Lib\site-packages\typer\main.py", line 326, in call
raise e
File "D:\Gavz Projects\Python\Reflex\hyinsta.venv\Lib\site-packages\typer\main.py", line 309, in call
return get_command(self)(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Gavz Projects\Python\Reflex\hyinsta.venv\Lib\site-packages\click\core.py", line 1157, in call
return self.main(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Gavz Projects\Python\Reflex\hyinsta.venv\Lib\site-packages\typer\core.py", line 723, in main
return _main(
^^^^^^
File "D:\Gavz Projects\Python\Reflex\hyinsta.venv\Lib\site-packages\typer\core.py", line 193, in _main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File "D:\Gavz Projects\Python\Reflex\hyinsta.venv\Lib\site-packages\click\core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Gavz Projects\Python\Reflex\hyinsta.venv\Lib\site-packages\click\core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Gavz Projects\Python\Reflex\hyinsta.venv\Lib\site-packages\click\core.py", line 783, in invoke
return __callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Gavz Projects\Python\Reflex\hyinsta.venv\Lib\site-packages\typer\main.py", line 692, in wrapper
return callback(**use_params)
^^^^^^^^^^^^^^^^^^^^^^
File "D:\Gavz Projects\Python\Reflex\hyinsta.venv\Lib\site-packages\reflex\reflex.py", line 260, in run
_run(env, frontend, backend, frontend_port, backend_port, backend_host, loglevel)
File "D:\Gavz Projects\Python\Reflex\hyinsta.venv\Lib\site-packages\reflex\reflex.py", line 186, in _run
prerequisites.get_compiled_app()
File "D:\Gavz Projects\Python\Reflex\hyinsta.venv\Lib\site-packages\reflex\utils\prerequisites.py", line 276, in get_compiled_app
app_module = get_app(reload=reload)
^^^^^^^^^^^^^^^^^^^^^^
File "D:\Gavz Projects\Python\Reflex\hyinsta.venv\Lib\site-packages\reflex\utils\prerequisites.py", line 249, in get_app
app = import(module, fromlist=(constants.CompileVars.APP,))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Gavz Projects\Python\Reflex\reflex-web\pcweb\pcweb.py", line 53, in
raise RuntimeError(
RuntimeError: reflex-web cannot be built on Windows due to EMFILE error. To build a subset of pages for testing, set environment variable REFLEX_WEB_WINDOWS_OVERRIDE.
The text was updated successfully, but these errors were encountered:
app_module = get_app(reload=reload)
(.venv) D:\Gavz Projects\Python\Reflex\reflex-web>reflex run
Warning: Windows Subsystem for Linux (WSL) is recommended for improving initial install times.
──────────────────────────────────────────────────────────────────────────────────────────────────────── Starting Reflex App ─────────────────────────────────────────────────────────────────────────────────────────────────────────
Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in run_code
File "D:\Gavz Projects\Python\Reflex\hyinsta.venv\Scripts\reflex.exe_main.py", line 7, in
File "D:\Gavz Projects\Python\Reflex\hyinsta.venv\Lib\site-packages\typer\main.py", line 326, in call
raise e
File "D:\Gavz Projects\Python\Reflex\hyinsta.venv\Lib\site-packages\typer\main.py", line 309, in call
return get_command(self)(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Gavz Projects\Python\Reflex\hyinsta.venv\Lib\site-packages\click\core.py", line 1157, in call
return self.main(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Gavz Projects\Python\Reflex\hyinsta.venv\Lib\site-packages\typer\core.py", line 723, in main
return _main(
^^^^^^
File "D:\Gavz Projects\Python\Reflex\hyinsta.venv\Lib\site-packages\typer\core.py", line 193, in _main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File "D:\Gavz Projects\Python\Reflex\hyinsta.venv\Lib\site-packages\click\core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Gavz Projects\Python\Reflex\hyinsta.venv\Lib\site-packages\click\core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Gavz Projects\Python\Reflex\hyinsta.venv\Lib\site-packages\click\core.py", line 783, in invoke
return __callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Gavz Projects\Python\Reflex\hyinsta.venv\Lib\site-packages\typer\main.py", line 692, in wrapper
return callback(**use_params)
^^^^^^^^^^^^^^^^^^^^^^
File "D:\Gavz Projects\Python\Reflex\hyinsta.venv\Lib\site-packages\reflex\reflex.py", line 260, in run
_run(env, frontend, backend, frontend_port, backend_port, backend_host, loglevel)
File "D:\Gavz Projects\Python\Reflex\hyinsta.venv\Lib\site-packages\reflex\reflex.py", line 186, in _run
prerequisites.get_compiled_app()
File "D:\Gavz Projects\Python\Reflex\hyinsta.venv\Lib\site-packages\reflex\utils\prerequisites.py", line 276, in get_compiled_app
app_module = get_app(reload=reload)
^^^^^^^^^^^^^^^^^^^^^^
File "D:\Gavz Projects\Python\Reflex\hyinsta.venv\Lib\site-packages\reflex\utils\prerequisites.py", line 249, in get_app
app = import(module, fromlist=(constants.CompileVars.APP,))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Gavz Projects\Python\Reflex\reflex-web\pcweb\pcweb.py", line 53, in
raise RuntimeError(
RuntimeError: reflex-web cannot be built on Windows due to EMFILE error. To build a subset of pages for testing, set environment variable REFLEX_WEB_WINDOWS_OVERRIDE.
The text was updated successfully, but these errors were encountered: