Closed adamzerner closed 2 years ago
Hi, I don't work on this project but noticed your note. When you set up Postgress.app, did you set up the command line tools using step 3 on the main page? https://postgresapp.com/
@anthonydb Thanks for the help! Yes, I did run that command. I just ran it again too and get the following output.
code/calibration-training-api [master] » sudo mkdir -p /etc/paths.d &&
echo /Applications/Postgres.app/Contents/Versions/latest/bin | sudo tee /etc/paths.d/postgresapp
Password:
/Applications/Postgres.app/Contents/Versions/latest/bin
It didn't fix the problem I am having though.
Nevermind, I decided to go with a different Postgres GUI instead.
@adamzerner I'm facing the same issue, what Postgres GUI are you using instead?
Hey guys, I am getting set up with postgres for the first time. I used https://postgresapp.com/ to start the server and it seems like all is good there. Then in Postbird, I used the following connection:
It works when I click "Connect". I then created a new database called
calibration-training
(for a side project I am working on). Then I created a table calledTest
, added a column to that table calledname
(varchar
), and added a single record with anid
of1
and aname
offirst
. It looks like it worked.But then when I tried to retrieve the record via my Node.js app, I got an error. So I started investigating, and in doing so I clicked the "Info" tab and found this:
So I'm getting this error:
This is where I am totally lost. When I go to the command line, it looks like I don't have that executable, so I don't know how to proceed.
Any tips?