Hi
at this time of writing (24th April 22) - the nodesource node.js install script does not yet support the latest Ubuntu LTS 22.04 Jammy distribution... This mean that our Node-RED install script will also (sort of) fail... in that it will resort to installing the default node.js 12 version that ships with Jammy and not v14 or better v16 that we would prefer...
No doubt they will fix it soon - but right now it will just cause you heartache and pain.