mirror of
https://github.com/plankanban/planka.git
synced 2026-02-25 03:14:50 +03:00
Not able to connect to postgres in development mode #24
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @niraj1234567890 on GitHub (Aug 30, 2020).
When I am trying to login to planka after installing all the dependencies and starting both the servers[in development mode], I am not getting response from postgres database. Login page is not not getting response from the backend and thus it is just waiting..
After looking into the backend code and manually consoling (console.log()), I got to know that, code is getting stuck at where it is trying to connect to the database in get-user.js helper file.
So application is not getting response from the database at this code: User.findOne(criteria)
Is there something I am missing?? I have looked around but didn't get to the solution of this problem.
@meltyshev commented on GitHub (Aug 31, 2020):
Hi! Are you using Node v14?
@niraj1234567890 commented on GitHub (Aug 31, 2020):
Yes, It is 14.8.0
@meltyshev commented on GitHub (Aug 31, 2020):
https://github.com/balderdashy/sails/issues/6981, sails-postgresql adapter still doesn't work with the new Node. I will use a workaround mentioned in the comments there. Will be fixed in the next commit.
@niraj1234567890 commented on GitHub (Aug 31, 2020):
Thanks @meltyshev . I went crazy over this issue. It's working fine with lower versions of Node.
@meltyshev commented on GitHub (Aug 31, 2020):
Now you can pull the last version, it will be working with a new Node too 💪
@niraj1234567890 commented on GitHub (Aug 31, 2020):
Great👌👌