Skip to content

Medusa server problem #1921

Answered by callmekatootie
AviduDev asked this question in Q&A
Discussion options

You must be logged in to vote

DriverOptionNotSetError is the error that you get. I too received this error during my setup.

After hours of debugging, I realized the cause.

I switched from the default sqlite to postgres database - under medusa-config.js file in the project configuration. To carry this out, I uncommented

database_type: "postgres",

but I forgot to comment / remove

database_type: "sqlite",

which resulted in the DriverOptionNotSetError error. Once I removed / commented out the sqlite bit, I was able to successfully launch the server.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by srindom
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants