The entry you see there is not related to gateway.js, it's not running for sure.
The added entries means the process monitor keep trying to restart it without success.
You will have to retry installing on a clean latest image, not sure what else to suggest. I don't have a Pi0-W but I don't expect the setup script to fail. Watch out for errors and do a screen capture of that if you can. I should probably add a setup log to the setup script.