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

get_package_manager() will always resolve to npm
This commit is contained in:
Masen Furer 2024-04-22 18:17:54 -07:00 committed by GitHub
parent 415ce5557c
commit cd4f6bd056
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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