Skip to content

Commit

Permalink
[REF-2620] Fallback to npm (not bun) (#3138)
Browse files Browse the repository at this point in the history
get_package_manager() will always resolve to npm
  • Loading branch information
masenf committed Apr 23, 2024
1 parent 415ce55 commit cd4f6bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reflex/utils/prerequisites.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cd4f6bd

Please sign in to comment.