From b1ffba23c93696b845673a403903c19a4920744c Mon Sep 17 00:00:00 2001 From: Kyle McCormick Date: Thu, 11 Apr 2024 14:47:20 -0400 Subject: [PATCH] Revert "chore: upgrade to node 18 in edx-platform" (#1040) This reverts commit ab2689a3fb63817d248c0a06f8b310cbb8f03a52, as the upstream Node upgrade was reverted: https://github.com/openedx/edx-platform/pull/34496 --- changelog.d/20240410_102248_regis_node18.md | 1 - tutor/templates/build/openedx/Dockerfile | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) delete mode 100644 changelog.d/20240410_102248_regis_node18.md diff --git a/changelog.d/20240410_102248_regis_node18.md b/changelog.d/20240410_102248_regis_node18.md deleted file mode 100644 index 17308df..0000000 --- a/changelog.d/20240410_102248_regis_node18.md +++ /dev/null @@ -1 +0,0 @@ -- [Improvement] Upgrade Nodejs from 16.14.0 to 18.20.1 in edx-platform. (by @regisb) diff --git a/tutor/templates/build/openedx/Dockerfile b/tutor/templates/build/openedx/Dockerfile index bb66c51..ebefd7e 100644 --- a/tutor/templates/build/openedx/Dockerfile +++ b/tutor/templates/build/openedx/Dockerfile @@ -122,7 +122,7 @@ ENV PATH /openedx/nodeenv/bin:/openedx/venv/bin:${PATH} # https://github.com/openedx/edx-platform/blob/master/requirements/edx/base.txt # https://github.com/pyenv/pyenv/releases RUN pip install nodeenv==1.8.0 -RUN nodeenv /openedx/nodeenv --node=18.20.1 --prebuilt +RUN nodeenv /openedx/nodeenv --node=16.14.0 --prebuilt # Install nodejs requirements ARG NPM_REGISTRY={{ NPM_REGISTRY }}