Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

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

Open
GregIven opened this issue Sep 27, 2019 · 1 comment
Open

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

GregIven opened this issue Sep 27, 2019 · 1 comment

Comments

@GregIven
Copy link

GregIven commented Sep 27, 2019

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
Copy link

yes i also found the same problem

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
No open projects
Status: New Issue Approval
Development

No branches or pull requests

2 participants