Npm -v problem with RPI3

Did you look to see if I might have mistyped it? Also when you ran the script it would have told you it is /var/log/nodered-install.log

Also you have not told us what OS you are running.

Try
sudo apt install libstdc++6
though how that would not be installed I don't know.