This is an automated email from the ASF dual-hosted git repository.
lahirujayathilake pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/airavata-django-portal.git
The following commit(s) were added to refs/heads/master by this push:
new da5b319f Node.js Version Update
da5b319f is described below
commit da5b319fb7709303edecf7d184e56f32df42c9d4
Author: riyasoneji <[email protected]>
AuthorDate: Fri Apr 5 14:08:42 2024 -0400
Node.js Version Update
The README suggests installing the latest version of Node.js. This advice
was based on the situation before version '20.12.0' was released. Version 19 is
required.
---
Dockerfile | 2 +-
README.md | 3 +--
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/Dockerfile b/Dockerfile
index 38089d83..e385ed67 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,5 +1,5 @@
# node image is based on Debian and includes necessary build tools
-FROM node:lts as build-stage
+FROM node:19.9.0 as build-stage
# build api javascript
# api must come first, then common, since the others depend on these
diff --git a/README.md b/README.md
index aa8a1697..491543ad 100644
--- a/README.md
+++ b/README.md
@@ -20,8 +20,7 @@ The Airavata Django Portal works with Python versions 3.6 -
3.10. You'll need
one of these versions installed locally.
You'll also need Node.js and yarn to build the JavaScript frontend code. Please
-install
-[the most recent LTS version of Node.js](https://nodejs.org/en/download/). You
+install Node.js version 19. You
can also use [nvm](https://github.com/nvm-sh/nvm) to manage the Node.js
install.
If you have nvm installed you can run `nvm install && nvm use` before running
any yarn commands. See