From 0484719f2d512a257030239020b7c26870b44b87 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 e69eb3c5a..ed25a5aa6 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