Ver código fonte

[REF-2620] Fallback to npm (not bun) (#3138)

get_package_manager() will always resolve to npm
Masen Furer 1 ano atrás
pai
commit
cd4f6bd056
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      reflex/utils/prerequisites.py

+ 1 - 1
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
     # unsupported archs(arm and 32bit machines) will use npm anyway. so we dont have to run npm twice
     fallback_command = (
     fallback_command = (
-        get_install_package_manager()
+        get_package_manager()
         if not constants.IS_WINDOWS
         if not constants.IS_WINDOWS
         or constants.IS_WINDOWS
         or constants.IS_WINDOWS
         and constants.IS_WINDOWS_BUN_SUPPORTED_MACHINE
         and constants.IS_WINDOWS_BUN_SUPPORTED_MACHINE