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

I can't initialize vendure #2666

Open
dukeofsoftware opened this issue Feb 4, 2024 · 3 comments
Open

I can't initialize vendure #2666

dukeofsoftware opened this issue Feb 4, 2024 · 3 comments

Comments

@dukeofsoftware
Copy link

Hi! I am trying to initialize the project but I got an error. I have searched on the internet but I didn't find a solution.
image

@dukeofsoftware dukeofsoftware changed the title I can't initialize database I can't initialize vendure Feb 4, 2024
@michaelbromley
Copy link
Member

Hi,

please provide some more detail - specifically what DB are you attempting to connect to?

@dukeofsoftware
Copy link
Author

Hi, I am trying to connect serverless Neon Postgres database

@michaelbromley
Copy link
Member

OK, it looks like the problem is that during setup, the DB does not get configured to handle an SSL connection.

I recommend this work-around: install with SQLite, and once installed you can then edit the vendure-config.ts file and set the connection settings including the SSL part in the dbConnectionOptions.

If you then want to populate your Neon DB with the test data, you can see this guide: https://docs.vendure.io/guides/developer-guide/importing-data/#populating-test-data

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