strapi-plugin-location
strapi-plugin-location copied to clipboard
Crash on startup when not using postgres
Bug report
Describe the bug
When strapi is not using postgres, the server crashes on startup
Steps to reproduce the behavior
- Start a strapi instance without using postgres
- The info message is logged, but the server crashes
Expected behavior
The plugin should be disabled and the server should start without it
Additional context
I noticed you already have a check in there for plugin disabled, I believe it just needs to be added to a few more places.