changed ../.pgpass to .pgpass in index.js