Skip to content
This repository has been archived by the owner on Aug 7, 2024. It is now read-only.

Commit

Permalink
fix: fixed nodejs not downloading the correct version
Browse files Browse the repository at this point in the history
  • Loading branch information
KamilPawel committed Oct 28, 2021
1 parent b849094 commit 973e426
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions aimmo_setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,7 @@ def helm_install_aimmo(os_type, arch_type):

def install_pip(os_type, arch_type):
if os_type == OSType.LINUX:
_cmd("sudo apt-get install python-pip")
_cmd("sudo apt-get install python3-pip")


def install_nodejs(os_type, arch_type):
Expand All @@ -465,11 +465,7 @@ def install_nodejs(os_type, arch_type):
except CalledProcessError:
pass

_cmd(
"curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash - 1> /dev/null",
comment + ": download",
)
_cmd("sudo apt-get install -y nodejs", comment + ": install")
_cmd("sudo apt-get install nodejs=12.*")


def check_for_cmdtest(os_type, arch_type):
Expand Down

0 comments on commit 973e426

Please sign in to comment.