It's working! I think I've tried install mongodb some time ago and all the sources list become obsolete. Something in the meantime mess with my npm hence the whole issue.
So, I've commented/removed unused sources list from /etc/apt/sources.list and /etc/apt/sources.list.d (haven't noticed this folder at first), then update everything, install node v10 with npm from scratch and then re-run the script.
Many thanks!
PS. Are you on our Facebook group? https://www.facebook.com/groups/193090774811372/?ref=group_header