I am trying to install medusajs by running this command
npx create-medusa-app --db-url "postgres://default:[email protected]:5432/verceldb?sslmode=require"
and I keep getting error
node:events:492
throw er; // Unhandled 'error' event
^
error: terminating connection due to administrator command.
Emitted 'error' event on Client instance at: at Client._handleErrorEvent
(/Users/user/.npm/_npx/cc876d312f16923e/node_modules/pg/lib/client.js:341:10)
What is this error and is it on Vercel side or Medusajs. How can i fix this
That means that either somebody or something called
pg_terminate_backend()
to kill your session, or that the server was shut down with a fast shutdown request. Look at the PostgreSQL server log to determine the exact cause.PostgreSQL doesn't do that on its own. Something in your stack is probably messing with the database.