reactjs/rfcs

psql: could not connect to server: No such file or directory

devendrabohre opened this issue · 1 comments

facing problem in connceting database,
1- firstly when i clone https://github.com/reactjs/server-components-demo
and run npm install after this run npm start
image
2- second when I am trying to connect database and run
psql postgres
comes an error
The program 'psql' is currently not installed. You can install it by typing:
sudo apt install postgresql-client-common

so I run suggested command sudo apt install postgresql-client-common
after this again an error comes
Error: You must install at least one postgresql-client- package.
then I run sudo apt-get install postgresql-client
now comes an error
image

So Can you please tell me How I run this demo successfully on my local, Because I love this server component concept
Kudos React Team

Please file this in the demo repository.