Tell us what’s happening:
psql: error: FATAL: Peer authentication failed for user “freecodecamp”
I am trying to run in local docker environment in windows. but can not get rid of this error. can anyone help me regarding this?
Your code so far
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:149.0) Gecko/20100101 Firefox/149.0
Challenge Information:
Build a Celestial Bodies Database - Build a Celestial Bodies Database
can you post a screenshot showing your full vscode area?
One thing to try also is to click Reset. Then wait very patiently.
Then when things look like they’ve stopped running, close your current terminal.
Then open a new terminal and try to connect again.
from here, I am messing up everything, can’t figure out where to go next. I am trying to open code road in the workspace folder and then trying to run the course and the error is showing up which I have shown earlier.
I have tried resetting multiple times, still the result is the same
Your environment looks broken. I do not know how to fix it.
This course doesn’t run on windows as far as I can recall. You would need to install wsl2 and use the instructions given with some workarounds depending on what issues you encounter as you perform the steps.
I suggest using codespaces if you are not experienced with sorting out development environments
this is a wsl environment. you may see it in the terminal. I also completed another workshop on making video game characters database before it in the same environment. the ss is attached.
whenever I am coming back to this environment, it is taking me to the attached page i.e.,
last page of that course.
when creating a new workshop on wsl, you have to use a new folder name.
so if your previous folder used was rdb-alpha, create a new folder called rdb-alpha-1
and use that instead whenever the instructions say ‘rdb-alpha’
THANKS A LOT BROTHER.
Basically I am not at all familiar with docker. That is why I don’t know why this worked.
It will be very helpful if you just explain why renaming that folder worked in short. Best wishes.
It’s not a docker issue as far as I know.
It’s something to do with how Visual Studio Code saves information about the workspace in the windows file system. I haven’t looked into it beyond that.
ps. I’m not a ‘brother’, more a ‘sister’. lol
sorry for missing your profile picture, sister.
Again thanks a lot for helping me out from a stuck situation.