diff --git a/reflex/utils/exec.py b/reflex/utils/exec.py index 95a1131c2..d675c47e0 100644 --- a/reflex/utils/exec.py +++ b/reflex/utils/exec.py @@ -166,7 +166,15 @@ def output_system_info(): if console.LOG_LEVEL > constants.LogLevel.DEBUG: return + config = get_config() + try: + config_file = sys.modules[config.__module__].__file__ + except Exception: + config_file = None + console.rule(f"System Info") + console.debug(f"Config file: {config_file!r}") + console.debug(f"Config: {config}") dependencies = [ f"[Reflex {constants.VERSION} with Python {platform.python_version()} (PATH: {sys.executable})]", @@ -179,6 +187,7 @@ def output_system_info(): dependencies.extend( [ f"[NVM {constants.NVM_VERSION} (Expected: {constants.NVM_VERSION}) (PATH: {constants.NVM_PATH})]", + f"[Bun {prerequisites.get_bun_version()} (Expected: {constants.BUN_VERSION}) (PATH: {config.bun_path})]", ], ) else: diff --git a/reflex/utils/prerequisites.py b/reflex/utils/prerequisites.py index 10e66dae2..9e55cf136 100644 --- a/reflex/utils/prerequisites.py +++ b/reflex/utils/prerequisites.py @@ -39,8 +39,7 @@ def check_node_version() -> bool: if constants.IS_WINDOWS else current_version == version.parse(constants.NODE_VERSION) ) - else: - return False + return False def get_node_version() -> Optional[version.Version]: