1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

Merge pull request #3584 from holta/node20

Begin transition to 'nodejs_version: 20.x' [& internetarchive upstream patch]
This commit is contained in:
A Holt 2023-06-18 15:37:54 -04:00 committed by GitHub
commit 14d5c8a63c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 9 deletions

View file

@ -8,15 +8,15 @@ Nodesource.com often supports Debian long before each Debian release, whereas fo
For late-breaking details on Nodesource.com support for your particular Linux OS, keep an eye on:
- https://github.com/nodesource/distributions#deb
- https://deb.nodesource.com/node_18.x/dists/
- https://deb.nodesource.com/node_18.x/pool/main/n/nodejs/
- https://nodejs.org/dist/latest-v18.x/
- https://deb.nodesource.com/node_20.x/dists/
- https://deb.nodesource.com/node_20.x/pool/main/n/nodejs/
- https://nodejs.org/dist/latest-v20.x/
- https://deb.nodesource.com/node_19.x/dists/
- https://deb.nodesource.com/node_19.x/pool/main/n/nodejs/
- https://nodejs.org/dist/latest-v19.x/
- _ETC!_
If Nodesource.com does not yet support your Linux OS and IIAB's asked to install Node.js — IIAB will then [fall back](https://github.com/iiab/iiab/blob/15a689e30b4eea325e4bb8d35e19990dd8062fbc/roles/nodejs/tasks/install.yml#L103-L107) to: (running the equivalent of)
If Nodesource.com does not yet support your Linux OS and IIAB's asked to install Node.js — IIAB will then [fall back](https://github.com/iiab/iiab/blob/91a5cd33f34d5d2a55e75bf0cdc85bcd9d7b4821/roles/nodejs/tasks/install.yml#L103-L107) to: (running the equivalent of)
```
sudo apt install nodejs npm
@ -41,7 +41,7 @@ On the original Raspberry Pi Zero W (ARMv6) however: Node.js applications like I
If necessary, run `sudo apt purge nodejs npm` then `sudo rm /etc/apt/sources.list.d/nodesource.list` then `sudo apt update` and then attempt to [install Node.js](https://github.com/iiab/iiab/blob/master/roles/nodejs/tasks/install.yml) _on the Raspberry Pi Zero W itself_ (`cd /opt/iiab/iiab` then `sudo ./runrole --reinstall nodejs`).
Earlier, some preferred installing the tar file version mentioned at [#2082](https://github.com/iiab/iiab/issues/2082#issuecomment-569344617) — if that is your preference, consider a more recent version like: https://nodejs.org/dist/latest-v18.x/
Earlier, some preferred installing the tar file version mentioned at [#2082](https://github.com/iiab/iiab/issues/2082#issuecomment-569344617) — if that is your preference, consider a more recent version like: https://nodejs.org/dist/latest-v20.x/
Either way, you'll (likely) then also need to run: `sudo apt install npm`