Skip to content

Commit

Permalink
fix: set nodejs_install for version 14 for both mac and linux
Browse files Browse the repository at this point in the history
  • Loading branch information
KamilPawel committed Nov 5, 2021
1 parent fc21a2c commit e046b00
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions aimmo_setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -480,9 +480,12 @@ def install_nodejs(os_type, arch_type):
except CalledProcessError:
pass
if os_type == OSType.MAC:
_cmd("brew install nodejs")
_cmd("brew install node@14")
if os_type == OSType.LINUX:
_cmd("curl -o- -L https://yarnpkg.com/install.sh | bash")
_cmd(
"curl -fsSL https://deb.nodesource.com/setup_14.x | sudo -E bash -"
"sudo apt-get install -y nodejs"
)


def check_for_cmdtest(os_type, arch_type):
Expand Down

0 comments on commit e046b00

Please sign in to comment.