latest package.json and adding debugging to try and fix production