From d1a3dd982149c40522e614e307de3f8dbbbe5973 Mon Sep 17 00:00:00 2001 From: Dave Kelsey Date: Tue, 23 Apr 2024 09:31:05 +0100 Subject: [PATCH] Update versions of node in docs Signed-off-by: Dave Kelsey --- docs/vNext/CONTRIBUTING.md | 8 ++++---- docs/vNext/Installing_Caliper.md | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/vNext/CONTRIBUTING.md b/docs/vNext/CONTRIBUTING.md index 7352d43b9..1adc00219 100644 --- a/docs/vNext/CONTRIBUTING.md +++ b/docs/vNext/CONTRIBUTING.md @@ -216,13 +216,13 @@ For developing Caliper, the minimum required version of npm is `7.24.2`. This is In case the npm version is not sufficient, the following error may be thrown when trying to install the dependencies: ```console -user@ubuntu:~/caliper$ npm ci +user@ubuntu:~/caliper$ npm install npm ERR! code ENOTSUP -npm ERR! notsup Unsupported engine for caliper@0.5.1-unstable: wanted: {"node":">=14.19.0","npm":">=7.24.2"} (current: {"node":"14.19.3","npm":"6.14.17"}) +npm ERR! notsup Unsupported engine for caliper@0.5.1-unstable: wanted: {"node":">=18.19.0","npm":">=7.24.2"} (current: {"node":"14.21.3","npm":"6.14.18"}) npm ERR! notsup Not compatible with your version of node/npm: caliper@0.5.1-unstable npm ERR! notsup Not compatible with your version of node/npm: caliper@0.5.1-unstable -npm ERR! notsup Required: {"node":">=14.19.0","npm":">=7.24.2"} -npm ERR! notsup Actual: {"npm":"6.14.17","node":"14.19.3"} +npm ERR! notsup Required: {"node":">=18.19.0","npm":">=7.24.2"} +npm ERR! notsup Actual: {"npm":"6.14.18","node":"14.21.3"} ``` If the npm version is lower than `7.24.2`, you can update it to latest by running the following command: diff --git a/docs/vNext/Installing_Caliper.md b/docs/vNext/Installing_Caliper.md index 7a5a59341..4bc5f81c6 100644 --- a/docs/vNext/Installing_Caliper.md +++ b/docs/vNext/Installing_Caliper.md @@ -247,8 +247,8 @@ Let's see the three types of version numbers you will encounter: ### Pre-requisites -* Node.js v14 LTS or v16 LTS is required to install the Caliper CLI from NPM: -* Docker version 20.10.11 or later is required for use with the Caliper docker image +* Node.js v18 LTS or v20 LTS or later LTS version is required to install the Caliper CLI from NPM: +* Docker engine version 20.10.11 or later is required for use with the Caliper docker image The following tools may be required depending on which SUT and version you bind to