From 6b129c56416b516561ff00a9ca7f4de66b65bdfb Mon Sep 17 00:00:00 2001 From: Lendemor Date: Fri, 24 Jan 2025 22:21:59 +0100 Subject: [PATCH] check for None --- reflex/utils/prerequisites.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reflex/utils/prerequisites.py b/reflex/utils/prerequisites.py index 02e98ced7..31462d457 100644 --- a/reflex/utils/prerequisites.py +++ b/reflex/utils/prerequisites.py @@ -1283,7 +1283,7 @@ def validate_bun(): """ bun_path = path_ops.get_bun_path() - if bun_path.samefile(constants.Bun.DEFAULT_PATH): + if bun_path and bun_path.samefile(constants.Bun.DEFAULT_PATH): console.info(f"Using custom Bun path: {bun_path}") bun_version = get_bun_version() if not bun_version: