Medusa server problem #1921
-
medusa server on Heroku doesn't work properly, bcz my frontend failed to get data from the backend. here's the error from the frontend:
` and this is the errors getting from heroku medusa server:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
After hours of debugging, I realized the cause. I switched from the default sqlite to postgres database - under
but I forgot to comment / remove
which resulted in the |
Beta Was this translation helpful? Give feedback.
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 uncommentedbut I forgot to comment / remove
which resulted in the
DriverOptionNotSetError
error. Once I removed / commented out the sqlite bit, I was able to successfully launch the server.