Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dev webserver fails to start #145

Open
cortsf opened this issue Mar 12, 2023 · 1 comment
Open

dev webserver fails to start #145

cortsf opened this issue Mar 12, 2023 · 1 comment

Comments

@cortsf
Copy link

cortsf commented Mar 12, 2023

Steps:

  1. setup database
  2. cd webserver/server
  3. nvm use
  4. yarn install
  5. yarn 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.
@SebastienGllmt
Copy link
Contributor

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants