Skip to content

Commit

Permalink
Update node version to 18 (#2663)
Browse files Browse the repository at this point in the history
  • Loading branch information
agunapal authored Oct 4, 2023
1 parent 9dd1d96 commit 7b36a5d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ts_scripts/install_dependencies.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def install_java(self):
def install_nodejs(self):
if os.system("node -v") != 0 or args.force:
os.system(
f"{self.sudo_cmd}curl -sL https://deb.nodesource.com/setup_14.x | {self.sudo_cmd}bash -"
f"{self.sudo_cmd}curl -sL https://deb.nodesource.com/setup_18.x | {self.sudo_cmd}bash -"
)
os.system(f"{self.sudo_cmd}apt-get install -y nodejs")

Expand Down Expand Up @@ -156,8 +156,8 @@ def install_java(self):

def install_nodejs(self):
os.system("brew unlink node")
os.system("brew install node@14")
os.system("brew link --overwrite node@14")
os.system("brew install node@18")
os.system("brew link --overwrite node@18")

def install_node_packages(self):
os.system(f"{self.sudo_cmd} ./ts_scripts/mac_npm_deps")
Expand Down

0 comments on commit 7b36a5d

Please sign in to comment.