- Strapi Version:
- Operating System:
- Node Version:
- NPM Version:
- Yarn Version:
Hi I have a simple Strapi app I’m using to test Strapi.
I haven’t used the app for a few days put the last time I use it was working.
Now when I start the app with
yarn start I get the following error. Whats causing this error, how can I fix it ?
[2023-08-22 08:19:41.052] debug: ⛔️ Server wasn't able to start properly. [2023-08-22 08:19:41.058] error: Connection terminated unexpectedly Error: Connection terminated unexpectedly at Connection.<anonymous> (/Users/--/Desktop/next-strapi-app/backend/node_modules/pg/lib/client.js:132:73) at Object.onceWrapper (node:events:627:28) at Connection.emit (node:events:513:28) at Connection.emit (node:domain:489:12) at TLSSocket.<anonymous> (/Users/--/Desktop/next-strapi-app/backend/node_modules/pg/lib/connection.js:107:12) at TLSSocket.emit (node:events:525:35) at TLSSocket.emit (node:domain:489:12) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.