From b27060d91d18da66626d94070d3d3ea6bbadafae Mon Sep 17 00:00:00 2001 From: Mike Bruzina Date: Tue, 10 Oct 2023 14:13:04 -0500 Subject: [PATCH] chore(node): update nodejs installation --- .gitignore | 3 +++ deploy/linux/roles/prepare/tasks/installNodeJs.yml | 6 +++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index ad46b30..4e78079 100644 --- a/.gitignore +++ b/.gitignore @@ -59,3 +59,6 @@ typings/ # next.js build output .next + + +.idea/ \ No newline at end of file diff --git a/deploy/linux/roles/prepare/tasks/installNodeJs.yml b/deploy/linux/roles/prepare/tasks/installNodeJs.yml index 7ec13b0..dc3c9da 100644 --- a/deploy/linux/roles/prepare/tasks/installNodeJs.yml +++ b/deploy/linux/roles/prepare/tasks/installNodeJs.yml @@ -1,11 +1,11 @@ --- - - name: reference nodesource on version 16 - shell: 'curl -sL https://rpm.nodesource.com/setup_16.x | sudo -E bash -' + - name: download nodejs rpm + shell: 'yum install https://rpm.nodesource.com/pub_16.x/nodistro/repo/nodesource-release-nodistro-1.noarch.rpm -y' become: yes - name: install nodejs from nodesource - shell: 'yum install nodejs --enablerepo=nodesource -y' + shell: 'yum install nodejs -y --setopt=nodesource-nodejs.module_hotfixes=1' become: yes - name: install build essentials for native modules