diff --git a/awx/ui/CONTRIBUTING.md b/awx/ui/CONTRIBUTING.md index b1eb156d56..f4b8e45da8 100644 --- a/awx/ui/CONTRIBUTING.md +++ b/awx/ui/CONTRIBUTING.md @@ -56,7 +56,7 @@ The UI is built using [ReactJS](https://reactjs.org/docs/getting-started.html) a The AWX UI requires the following: -- Node >= 16.14.0 LTS +- Node >= 16.13.1 LTS - NPM 8.x Run the following to install all the dependencies: diff --git a/awx/ui/Dockerfile b/awx/ui/Dockerfile index 9e15524b38..fda48b9c92 100644 --- a/awx/ui/Dockerfile +++ b/awx/ui/Dockerfile @@ -1,4 +1,4 @@ -FROM node:16.14.0 +FROM node:16.13.1 ARG NPMRC_FILE=.npmrc ENV NPMRC_FILE=${NPMRC_FILE} ARG TARGET='https://awx:8043' diff --git a/awx/ui/README.md b/awx/ui/README.md index 8f92ca7807..4c7bb9d580 100644 --- a/awx/ui/README.md +++ b/awx/ui/README.md @@ -1,7 +1,7 @@ # AWX-UI ## Requirements -- node >= 16.14.0, npm >= 8.x make, git +- node >= 16.13.1, npm >= 8.x make, git ## Development The API development server will need to be running. See [CONTRIBUTING.md](../../CONTRIBUTING.md). diff --git a/awx/ui/package.json b/awx/ui/package.json index 9b8087b0b5..a34a0b10fe 100644 --- a/awx/ui/package.json +++ b/awx/ui/package.json @@ -3,7 +3,7 @@ "homepage": ".", "private": true, "engines": { - "node": ">=16.14.0" + "node": ">=16.13.1" }, "dependencies": { "@lingui/react": "3.9.0", diff --git a/tools/ansible/roles/dockerfile/templates/Dockerfile.j2 b/tools/ansible/roles/dockerfile/templates/Dockerfile.j2 index 263c73d0ba..b15699a12f 100644 --- a/tools/ansible/roles/dockerfile/templates/Dockerfile.j2 +++ b/tools/ansible/roles/dockerfile/templates/Dockerfile.j2 @@ -67,7 +67,7 @@ RUN cd /tmp && make requirements_awx_dev # Use the distro provided npm to bootstrap our required version of node {% if not headless|bool %} -RUN npm install -g n && n 14.15.1 +RUN npm install -g n && n 16.13.1 {% endif %} # Copy source into builder, build sdist, install it into awx venv @@ -150,7 +150,7 @@ RUN dnf -y install \ wget \ diffutils \ unzip && \ - npm install -g n && n 16.14.0 && npm install -g npm@8.5.0 && dnf remove -y nodejs + npm install -g n && n 16.13.1 && npm install -g npm@8.5.0 && dnf remove -y nodejs RUN pip3 install black git+https://github.com/coderanger/supervisor-stdout