changing the path in models/index.js to './.pgpass' instead of '../.pgpass'.