hackforla / jobs-for-hope

Aggregate job opportunities for homeless service providers so that people can search for a job in the non-profit sector that fits their skillset.
MIT License
19 stars 20 forks source link

"npm start" for starting node server returns error #187

Open GregIven opened 4 years ago

GregIven commented 4 years ago

Running linux mint 19.1 tessa and I am getting the error:

`gregory@gregory-Lenovo-YOGA-730-13IKB:~/src/jobs-for-hope$ npm start

backend@1.0.0 start /home/gregory/src/jobs-for-hope node server.js

Server running on port 5000 Failed to prune sessions: password authentication failed for user "gregory" Failed to prune sessions: password authentication failed for user "gregory" Failed to prune sessions: password authentication failed for user "gregory" `

The closest I got to finding the source of the error is this.

The user changes when I run as root.

Any ideas?

Edit 1:

I changed the postgres-pool.js file to match the credentials listed in the .env file. This gives me an error for the user listed in the .env file. My suspicions are on a password change?

hurihidayat12 commented 2 years ago

yes i also found the same problem