From cd4f6bd056b136e324c45f2928ae9e589b717efb Mon Sep 17 00:00:00 2001 From: Masen Furer Date: Mon, 22 Apr 2024 18:17:54 -0700 Subject: [PATCH] [REF-2620] Fallback to npm (not bun) (#3138) get_package_manager() will always resolve to npm --- 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 148ef9f66..cac71a142 100644 --- a/reflex/utils/prerequisites.py +++ b/reflex/utils/prerequisites.py @@ -823,7 +823,7 @@ def install_frontend_packages(packages: set[str], config: Config): """ # unsupported archs(arm and 32bit machines) will use npm anyway. so we dont have to run npm twice fallback_command = ( - get_install_package_manager() + get_package_manager() if not constants.IS_WINDOWS or constants.IS_WINDOWS and constants.IS_WINDOWS_BUN_SUPPORTED_MACHINE