Pi install script not installing node-red-pi on ubuntu

I have been testing the pi install script on Ubuntu 18.10 (about to be released). For some reason it hasn't installed node-red-pi into /usr/bin, though node-red-stop, start etc are there.
Looking at an older system I see that /usr/bin/node-red-pi is a link to usr/lib/node_modules/node-red/bin/node-red-pi but on the new one the only node-red-pi that I can find is /usr/local/lib/node_modules/.staging/node-red-57aaefaf/bin/node-red-pi.
Can someone explain what is going on?

Perhaps this is also related to the fact that the wrong nodejs and npm are installed as in the other issue. I will leave this on hold too until that is sorted.

This has been fixed by installing a valid version of node and npm.

I thought there was a way of marking a thread solved, but I can't find it.

Only some categories have the 'mark as solved' option enabled. As this is the #development category for discussions around developing Node-RED, rather than Q&A, it wasn't enabled here.