Skip to content

Commit 9fe002a

Browse files
committed
S3C-11127: POC-specific-code: install yarn for the node 22 that nvm just installed
1 parent 602b096 commit 9fe002a

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

‎poc-demo/HANDOVER.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ showing the cure reads better than hiding the symptom.
451451

452452
```bash
453453
git clone --branch poc/S3C-11127-demo git@github.com:scality/backbeat.git && cd backbeat
454-
nvm install 22 && nvm use 22 # or any node 22 on PATH; 24 breaks native modules
454+
nvm install 22 && nvm use 22 && npm install -g yarn # node 22 plus yarn 1 for that node; 24 breaks native modules
455455
yarn demo:install # yarn install, node-gyp workaround folded in
456456
yarn demo:preflight # docker, node, free ports, python for node-gyp
457457
yarn demo:up # builds the two local images if missing, then the stack

‎poc-demo/PLAYBOOK.md‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,9 @@ From nothing to the demo. Each was executed on the build machine on
4444
# 1. clone the demo branch and enter it (11:05:45, 20 s)
4545
git clone --branch poc/S3C-11127-demo git@github.com:scality/backbeat.git && cd backbeat
4646

47-
# 2. node 22 on PATH; 24 breaks the native modules and the install. With nvm:
48-
nvm install 22 && nvm use 22
47+
# 2. node 22 on PATH, then yarn 1 for that node (nvm keeps global packages per node version,
48+
# so a fresh node 22 has no yarn); 24 breaks the native modules and the install.
49+
nvm install 22 && nvm use 22 && npm install -g yarn
4950

5051
# 3. install, with the one macOS/node-gyp workaround folded in (11:06:05, 60 s)
5152
yarn demo:install

0 commit comments

Comments
 (0)