carp
carp copied to clipboard
dev webserver fails to start
trafficstars
Steps:
- setup database
cd webserver/servernvm useyarn installyarn dev:start
Fails with:
yarn run v1.22.19
warning ../../../package.json: No license field
$ npx pgtyped --uri -c config.json && yarn build && concurrently "nodemon -x tsoa spec-and-routes" "npx pgtyped -w -c config.json" "nodemon"
Connection failed: no pg_hba.conf entry for host "127.0.0.1", user "postgres", database "postgres", no encryption
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Connection failed: no pg_hba.conf entry for host "127.0.0.1", user "postgres", database "postgres", no encryption
Seems like a setup issue with your database connection (unrelated to Carp). Notably, presumably you didn't mean to use the user postgres and database postgres?