Dan, SSH into your server and run the following commands:
sudo apt-get remove -y node nodejs
curl -sL
https://deb.nodesource.com/setup_8.x | sudo -E bash -
sudo apt-get install -y nodejs
cd /opt/cartulary/aggrivate
sudo rm -rf node_modules/
sudo rm package-lock.json
sudo npm install --unsafe-perm=true --allow-root
It's most likely the node.js version running on your server is old. I've run into that a few times. There was a transition from 4.x to the 8.x branch during Ubuntu 16's lifecycle.
If that doesn't work, shoot me an email and I can get in and sort it out for you.
DJ