@Danp and @olivierlambert the issue was... after made and upgrade with xo-update i get that error.
I try and install from source to debug the issue, when following the docs i see the node warning, came here to check if that is the case since the stable is 12.
When i put the error here, is bad paste from me side as the error is still about the xo using the script and not from sources.
Bottom line, xo works with node 8, as well the script after every node/packages etc removed the script works again. So the issues was some update that update node to version 12 and then break the script for some reason.