diff --git a/doc/deps.md b/doc/deps.md index 53e441166..13333f2c0 100644 --- a/doc/deps.md +++ b/doc/deps.md @@ -198,7 +198,7 @@ make install -j $(nproc) ``` ### Node.js and NPM -Make sure you are using at least version 18 of [Node.js](https://nodejs.org/en/). +Make sure you are using at least version 16 of [Node.js](https://nodejs.org/en/). Unfortunately only older versions are available in the official Ubuntu repositories for all supported versions, therefore a separate installation might be required from [NodeSource](https://github.com/nodesource/distributions). @@ -209,7 +209,7 @@ sudo mkdir -p /etc/apt/keyrings curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | sudo gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg # Create deb repository -NODE_MAJOR=18 # or 20 +NODE_MAJOR=16 # or 18, 20 echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_$NODE_MAJOR.x nodistro main" | sudo tee /etc/apt/sources.list.d/nodesource.list # Run Update and Install @@ -218,7 +218,7 @@ sudo apt-get install nodejs ``` You can also download [nvm](https://github.com/nvm-sh/nvm), and run `nvm install` -at the root of the project to use the specified Node version (18.13.0). +at the root of the project to use the specified Node version (16.20.2). ### GTest/Googletest diff --git a/webgui-new/.nvmrc b/webgui-new/.nvmrc index 59f4a2f3a..3f784dcf9 100644 --- a/webgui-new/.nvmrc +++ b/webgui-new/.nvmrc @@ -1 +1 @@ -v18.13.0 \ No newline at end of file +v16.20.2 \ No newline at end of file diff --git a/webgui-new/README.md b/webgui-new/README.md index da8a40a0d..f675ae702 100644 --- a/webgui-new/README.md +++ b/webgui-new/README.md @@ -2,8 +2,8 @@ ## Prerequisites -Make sure you are using at least version 18 of [Node.js](https://nodejs.org/en/).\ -You can also download [nvm](https://github.com/nvm-sh/nvm), and run `nvm install` at the root of the project to use the specified Node version (18.13.0). +Make sure you are using at least version 16 of [Node.js](https://nodejs.org/en/).\ +You can also download [nvm](https://github.com/nvm-sh/nvm), and run `nvm install` at the root of the project to use the specified Node version (16.20.2). ## Development diff --git a/webgui-new/package-lock.json b/webgui-new/package-lock.json index 61bbba3f5..7f446f66a 100644 --- a/webgui-new/package-lock.json +++ b/webgui-new/package-lock.json @@ -20,7 +20,7 @@ "dagre": "^0.8.5", "devicons-react": "^1.2.5", "i18next": "^23.2.8", - "next": "~13.5.1", + "next": "~13.5.6", "react": "^18.2.0", "react-diff-viewer-continued": "^3.2.6", "react-dom": "^18.2.0", @@ -55,7 +55,7 @@ "typescript": "^5.3.3" }, "engines": { - "node": ">=18" + "node": ">=16" } }, "node_modules/@aashutoshrathi/word-wrap": { diff --git a/webgui-new/package.json b/webgui-new/package.json index a0f26c820..b327be5f2 100644 --- a/webgui-new/package.json +++ b/webgui-new/package.json @@ -41,7 +41,7 @@ "dagre": "^0.8.5", "devicons-react": "^1.2.5", "i18next": "^23.2.8", - "next": "~13.5.1", + "next": "~13.5.6", "react": "^18.2.0", "react-diff-viewer-continued": "^3.2.6", "react-dom": "^18.2.0", @@ -57,6 +57,6 @@ "thrift": "0.16.0" }, "engines": { - "node": ">=18" + "node": ">=16" } }