I know this is likey a daft question but..
I just created a clean Raspbery Pi and used your upgrade script to install Node-Red - it put in NodeJS 10.x
But then I tried to use it up upgrade a working (up to date apart from NodeJS) system - with NodeJS 8 already in it - and the script did little or nothing - came back almost straight away - and nodeJS 8 is still there. Is there a way to tell it to go for NodeJS 10 ?
First Pi nodejs -v = v10.15.1
Second Pi nodejs -v = 8.15.0