Hello everyone.
I am stuck on upgrade to 7.3 from 7.2.1.
I have node version 23.11.1
When I run
sudo -H -u peertube ./upgrade.sh
I get the new version downloaded and unpacked to the new directory.
When yarn kicks in I get the incompatibility error:
yarn install v1.22.22
[1/5] Validating package.json...
[2/5] Resolving packages...
[3/5] Fetching packages...
error i18next-parser@9.3.0: The engine "node" is incompatible with this module. Expected version "^18.0.0 || ^20.0.0 || ^22.0.0". Got "23.11.1"
error Found incompatible module.
I installed nvm
and node 22.0.0
When installing nvm I got the warnings:
=> You currently have modules installed globally with `npm`. These will no
=> longer be linked to the active version of Node when you install a new node
=> with `nvm`; and they may (depending on how you construct your `$PATH`)
=> override the binaries of modules installed with `nvm`:
/usr/lib
├── @peertube/peertube-cli@1.0.2
├── corepack@0.32.0
└── yarn@1.22.22
=> If you wish to uninstall them at a later point (or re-install them under your
=> `nvm` node installs), you can remove them from the system Node as follows:
$ nvm use system
$ npm uninstall -g a_module
Yet I executed nvm use 22.0.0
and nvm alias default 22.0.0
and tried to run update script again and the same error about incompatibility of i18next-parser came up.
With the incomplete update script Peertube stays on 7.2.1.
How do I go about this issue and what do I do next?
Thanks